The number 12317 (twelve thousand three hundred seventeen) is written in Roman numerals as follows: XIICCCXVII