The number 25317 (twenty-five thousand three hundred seventeen) is written in Roman numerals as follows: XXVCCCXVII