30687 in words is written as :

Thirty Thousand Six Hundred and Eighty Seven