David earns an annual salary of $60,000. He falls into a tax bracket where he must pay 22% in federal income taxes and 5% in state income taxes. Additionally, he must contribute 6% of his salary to a retirement plan. How much of his annual salary does David take home after all deductions? Let's think step by step and output the final answer within \boxed{}.
user