The number 42317 (forty-two thousand three hundred seventeen) is written in Roman numerals as follows: XLIICCCXVII