The number 38521 (thirty-eight thousand five hundred twenty-one) is written in Roman numerals as follows: XXXVIIIDXXI