The number 31950 (thirty-one thousand nine hundred fifty) is written in Roman numerals as follows: XXXICML