80171 in words is written as :

Eighty Thousand One Hundred and Seventy One