The number 36171 (thirty-six thousand one hundred seventy-one) is written in Roman numerals as follows: XXXVICLXXI