The number 31304 (thirty-one thousand three hundred four) is written in Roman numerals as follows: XXXICCCIV