The number 12521 (twelve thousand five hundred twenty-one) is written in Roman numerals as follows: XIIDXXI