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