The number 31494 (thirty-one thousand four hundred ninety-four) is written in Roman numerals as follows: XXXICDXCIV