The number 21247 (twenty-one thousand two hundred forty-seven) is written in Roman numerals as follows: XXICCXLVII