The number 31994 (thirty-one thousand nine hundred ninety-four) is written in Roman numerals as follows: XXXICMXCIV