18197 in words is written as :

Eighteen Thousand One Hundred and Ninety Seven