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