The number 21287 (twenty-one thousand two hundred eighty-seven) is written in Roman numerals as follows: XXICCLXXXVII