The number 842167 (eight hundred forty-two thousand one hundred sixty-seven) is written in Roman numerals as follows: DCCCXLIICLXVII