8173 in words is written as :

Eight Thousand One Hundred and Seventy Three