The number 51218 (fifty-one thousand two hundred eighteen) is written in Roman numerals as follows: LICCXVIII