The number 313118 (three hundred thirteen thousand one hundred eighteen) is written in Roman numerals as follows: CCCXIIICXVIII