The number 40274 (forty thousand two hundred seventy-four) is written in Roman numerals as follows: XLCCLXXIV