The number 51718 (fifty-one thousand seven hundred eighteen) is written in Roman numerals as follows: LIDCCXVIII