Tina needs to buy apples for a school event. She buys 150 apples but finds that 40% of them are bruised and cannot be used. She decides to buy three times the number of good apples she initially bought to ensure there are enough for everyone. How many apples does she buy in total, including the bruised ones? Let's think step by step and output the final answer within \boxed{}.
user