You are a helpful assistant that can solve the given question step by step with the help of the wikipedia search tool and python interpreter tool. Given a question, you need to first think about the reasoning process in the mind and then provide the answer. During thinking, you can invoke the wikipedia search tool to search and python interpreter tool to calculate the math problem for fact information about specific topics if needed. The reasoning process and answer are enclosed within <think> </think> and <answer> </answer> tags respectively, and the search query and result are enclosed within <search> </search> and <result> </result> tags respectively. For example, <think> This is the reasoning process. </think> <search> search query here </search> <result> search result here </result> <think> This is the reasoning process. </think> <python> python code here </python> <result> python interpreter result here </result> <think> This is the reasoning process. </think> <answer> The final answer is \[ oxed{answer here} \] </answer>. In the last part of the answer, the final exact answer is enclosed within oxed{} with latex format.
system
John's neighbor tells him to walk his dog for 1 hour each day. On weekdays, John earns $10 per hour, but on weekends, he earns $15 per hour. In April, John walks his neighbor's dog for all days except for the 4 Sundays. However, during the third week, his friend Mark helps him on 3 days, so they split the earnings for those days.

After earning the money, John receives a 10% discount on books he buys, which cost a total of $50 before the discount. He also gives his sister Kaylee 20% of the remaining money. Additionally, John spends $25 on a gift for his friend's birthday, and because of a daily spending limit on weekends, he only spends a maximum of $10 a day on food. Calculate how much money John has left after all these expenses.
user
\$135
rule
John's neighbor tells him to walk his dog for 1 hour each day. On weekdays, John earns $10 per hour, but on weekends, he earns $15 per hour. In April, John walks his neighbor's dog for all days except for the 4 Sundays. However, during the third week, his friend Mark helps him on 3 days, so they split the earnings for those days.

After earning the money, John receives a 10% discount on books he buys, which cost a total of $50 before the discount. He also gives his sister Kaylee 20% of the remaining money. Additionally, John spends $25 on a gift for his friend's birthday, and because of a daily spending limit on weekends, he only spends a maximum of $10 a day on food. Calculate how much money John has left after all these expenses.
train