The number 22171 (twenty-two thousand one hundred seventy-one) is written in Roman numerals as follows: XXIICLXXI