The number 38317 (thirty-eight thousand three hundred seventeen) is written in Roman numerals as follows: XXXVIIICCCXVII