50318 in words is written as :

Fifty Thousand Three Hundred and Eighteen