The number 12342 (twelve thousand three hundred forty-two) is written in Roman numerals as follows: XIICCCXLII