The number 221827 (two hundred twenty-one thousand eight hundred twenty-seven) is written in Roman numerals as follows: CCXXIDCCCXXVII