The number 25942 (twenty-five thousand nine hundred forty-two) is written in Roman numerals as follows: XXVCMXLII