The number 21317 (twenty-one thousand three hundred seventeen) is written in Roman numerals as follows: XXICCCXVII