The number 58171 (fifty-eight thousand one hundred seventy-one) is written in Roman numerals as follows: LVIIICLXXI