The number 25517 (twenty-five thousand five hundred seventeen) is written in Roman numerals as follows: XXVDXVII