The number 12389 (twelve thousand three hundred eighty-nine) is written in Roman numerals as follows: XIICCCLXXXIX