The number 318742 (three hundred eighteen thousand seven hundred forty-two) is written in Roman numerals as follows: CCCXVIIIDCCXLII