4089 in words is written as :

Four Thousand Eighty Nine