The number 42217 (forty-two thousand two hundred seventeen) is written in Roman numerals as follows: XLIICCXVII