The number 21822 (twenty-one thousand eight hundred twenty-two) is written in Roman numerals as follows: XXIDCCCXXII