50127 in words is written as :

Fifty Thousand One Hundred and Twenty Seven