The number 31254 (thirty-one thousand two hundred fifty-four) is written in Roman numerals as follows: XXXICCLIV