The number 20217 (twenty thousand two hundred seventeen) is written in Roman numerals as follows: XXCCXVII