The number 35317 (thirty-five thousand three hundred seventeen) is written in Roman numerals as follows: XXXVCCCXVII