The number 40354 (forty thousand three hundred fifty-four) is written in Roman numerals as follows: XLCCCLIV