The number 21171 (twenty-one thousand one hundred seventy-one) is written in Roman numerals as follows: XXICLXXI