The number 8171 (eight thousand one hundred seventy-one) is written in Roman numerals as follows: VIIICLXXI