12166 in words is written as :

Twelve Thousand One Hundred and Sixty Six