The number 31311 (thirty-one thousand three hundred eleven) is written in Roman numerals as follows: XXXICCCXI