50157 in words is written as :

Fifty Thousand One Hundred and Fifty Seven