Martha has $1,500. She spends $300 on groceries and then receives $250 from a friend as repayment of a loan. Afterward, she buys a new phone for $400. How much money does Martha have left? Let's think step by step and output the final answer within \boxed{}.
user