The number 8842 (eight thousand eight hundred forty-two) is written in Roman numerals as follows: VIIIDCCCXLII