The number 20717 (twenty thousand seven hundred seventeen) is written in Roman numerals as follows: XXDCCXVII