Emily has a budget of $500 for her monthly expenses. She spends 40% of her budget on rent, 30% on groceries, and the rest on utilities and entertainment. If her utilities cost $80, how much does she have left for entertainment? Let's think step by step and output the final answer within \boxed{}.
user