The number 20317 (twenty thousand three hundred seventeen) is written in Roman numerals as follows: XXCCCXVII