The number 50171 (fifty thousand one hundred seventy-one) is written in Roman numerals as follows: LCLXXI