The number 313018 (three hundred thirteen thousand eighteen) is written in Roman numerals as follows: CCCXIIIXVIII