The number 29171 (twenty-nine thousand one hundred seventy-one) is written in Roman numerals as follows: XXIXCLXXI