total_spend = 25 + 20 + 30 remain_money = 1000 - total_spend print(remain_money)
0
0
0
27
0