The number 18521 (eighteen thousand five hundred twenty-one) is written in Roman numerals as follows: XVIIIDXXI