The number 22789 (twenty-two thousand seven hundred eighty-nine) is written in Roman numerals as follows: XXIIDCCLXXXIX