Emily subscribes to a gym membership that costs $50 per month. Each year, the gym increases the membership fee by 10%. If Emily pays for the membership for 3 years, how much will she have spent in total by the end of the third year? Let's think step by step and output the final answer within \boxed{}.
user