The number 218542 (two hundred eighteen thousand five hundred forty-two) is written in Roman numerals as follows: CCXVIIIDXLII