16187 in words is written as :

Sixteen Thousand One Hundred and Eighty Seven