The number 30742 (thirty thousand seven hundred forty-two) is written in Roman numerals as follows: XXXDCCXLII