The number 23789 (twenty-three thousand seven hundred eighty-nine) is written in Roman numerals as follows: XXIIIDCCLXXXIX