8087 in words is written as :

Eight Thousand Eighty Seven