20387 in words is written as :

Twenty Thousand Three Hundred and Eighty Seven