The number 10242 (ten thousand two hundred forty-two) is written in Roman numerals as follows: XCCXLII