The number 21722 (twenty-one thousand seven hundred twenty-two) is written in Roman numerals as follows: XXIDCCXXII