The number 39954 (thirty-nine thousand nine hundred fifty-four) is written in Roman numerals as follows: XXXIXCMLIV