The number 5789 (five thousand seven hundred eighty-nine) is written in Roman numerals as follows: VDCCLXXXIX