The number 21487 (twenty-one thousand four hundred eighty-seven) is written in Roman numerals as follows: XXICDLXXXVII