10087 in words is written as :

Ten Thousand Eighty Seven