The number 31089 (thirty-one thousand eighty-nine) is written in Roman numerals as follows: XXXILXXXIX