Liam had some money in his bank account. He spent $40 on groceries and then twice that amount on a new jacket. After these expenses, he had $150 left in his account. How much money did he originally have in his account? Let's think step by step and output the final answer within \boxed{}.
user