The number 39974 (thirty-nine thousand nine hundred seventy-four) is written in Roman numerals as follows: XXXIXCMLXXIV