Adam took money from his savings account to use as spending money on a trip to San Antonio. On Monday, he spent half his money. On Tuesday, he sp ent half of what was left. On Wednesday, he again spent half of his remaining money. On Thursday, he work up with very little money left, but again spent half of it. If Adam started the vacation with n dollars, how much money did he have at the end of Thursday?