The number 97842 (ninety-seven thousand eight hundred forty-two) is written in Roman numerals as follows: XCVIIDCCCXLII