The number 95842 (ninety-five thousand eight hundred forty-two) is written in Roman numerals as follows: XCVDCCCXLII