The number 217022 (two hundred seventeen thousand twenty-two) is written in Roman numerals as follows: CCXVIIXXII