The number 12742 (twelve thousand seven hundred forty-two) is written in Roman numerals as follows: XIIDCCXLII