The number 27842 (twenty-seven thousand eight hundred forty-two) is written in Roman numerals as follows: XXVIIDCCCXLII