The number 4217 (four thousand two hundred seventeen) is written in Roman numerals as follows: IVCCXVII