The number 3118 (three thousand one hundred eighteen) is written in Roman numerals as follows: MMMCXVIII