The number 40974 (forty thousand nine hundred seventy-four) is written in Roman numerals as follows: XLCMLXXIV