The number 842018 (eight hundred forty-two thousand eighteen) is written in Roman numerals as follows: DCCCXLIIXVIII