The number 31323 (thirty-one thousand three hundred twenty-three) is written in Roman numerals as follows: XXXICCCXXIII