The number 40474 (forty thousand four hundred seventy-four) is written in Roman numerals as follows: XLCDLXXIV