The number 27171 (twenty-seven thousand one hundred seventy-one) is written in Roman numerals as follows: XXVIICLXXI