The number 21087 (twenty-one thousand eighty-seven) is written in Roman numerals as follows: XXILXXXVII