The number 22671 (twenty-two thousand six hundred seventy-one) is written in Roman numerals as follows: XXIIDCLXXI