The number 31399 (thirty-one thousand three hundred ninety-nine) is written in Roman numerals as follows: XXXICCCXCIX