The number 842022 (eight hundred forty-two thousand twenty-two) is written in Roman numerals as follows: DCCCXLIIXXII