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