The number 312518 (three hundred twelve thousand five hundred eighteen) is written in Roman numerals as follows: CCCXIIDXVIII