The number 36317 (thirty-six thousand three hundred seventeen) is written in Roman numerals as follows: XXXVICCCXVII