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