The number 5217 (five thousand two hundred seventeen) is written in Roman numerals as follows: VCCXVII