The number 842518 (eight hundred forty-two thousand five hundred eighteen) is written in Roman numerals as follows: DCCCXLIIDXVIII