50864 in words is written as :

Fifty Thousand Eight Hundred and Sixty Four