The number 21217 (twenty-one thousand two hundred seventeen) is written in Roman numerals as follows: XXICCXVII