The number 40918 (forty thousand nine hundred eighteen) is written in Roman numerals as follows: XLCMXVIII