Emir and his family ordered a meal that cost $50. Emir paid 8% sales tax and left an 18% tip on $50. What was the total cost?