The number 31274 (thirty-one thousand two hundred seventy-four) is written in Roman numerals as follows: XXXICCLXXIV