The number 31389 (thirty-one thousand three hundred eighty-nine) is written in Roman numerals as follows: XXXICCCLXXXIX