The number 31140 (thirty-one thousand one hundred forty) is written in Roman numerals as follows: XXXICXL