500001387 in words is written as :

Million One Thousand Three Hundred and Eighty Seven