The number 40350 (forty thousand three hundred fifty) is written in Roman numerals as follows: XLCCCL