The number 21718 (twenty-one thousand seven hundred eighteen) is written in Roman numerals as follows: XXIDCCXVIII