The number 17942 (seventeen thousand nine hundred forty-two) is written in Roman numerals as follows: XVIICMXLII