The number 10742 (ten thousand seven hundred forty-two) is written in Roman numerals as follows: XDCCXLII