The number 12717 (twelve thousand seven hundred seventeen) is written in Roman numerals as follows: XIIDCCXVII