The number 31418 (thirty-one thousand four hundred eighteen) is written in Roman numerals as follows: XXXICDXVIII