The number 16789 (sixteen thousand seven hundred eighty-nine) is written in Roman numerals as follows: XVIDCCLXXXIX