The number 97317 (ninety-seven thousand three hundred seventeen) is written in Roman numerals as follows: XCVIICCCXVII