The number 45317 (forty-five thousand three hundred seventeen) is written in Roman numerals as follows: XLVCCCXVII