The number 25417 (twenty-five thousand four hundred seventeen) is written in Roman numerals as follows: XXVCDXVII