The number 35171 (thirty-five thousand one hundred seventy-one) is written in Roman numerals as follows: XXXVCLXXI