The number 5417 (five thousand four hundred seventeen) is written in Roman numerals as follows: VCDXVII