The number 30342 (thirty thousand three hundred forty-two) is written in Roman numerals as follows: XXXCCCXLII