The number 318542 (three hundred eighteen thousand five hundred forty-two) is written in Roman numerals as follows: CCCXVIIIDXLII