The number 35942 (thirty-five thousand nine hundred forty-two) is written in Roman numerals as follows: XXXVCMXLII