The number 10789 (ten thousand seven hundred eighty-nine) is written in Roman numerals as follows: XDCCLXXXIX