The number 5317 (five thousand three hundred seventeen) is written in Roman numerals as follows: VCCCXVII