The number 12517 (twelve thousand five hundred seventeen) is written in Roman numerals as follows: XIIDXVII