The number 31351 (thirty-one thousand three hundred fifty-one) is written in Roman numerals as follows: XXXICCCLI