The number 21227 (twenty-one thousand two hundred twenty-seven) is written in Roman numerals as follows: XXICCXXVII