Jonathan is managing his daily tasks. In the morning, he completed 7 tasks, and in the afternoon, he completed some more tasks. If he had planned to complete 20 tasks in total for the day and had 5 tasks left incomplete at the end of the day, how many tasks did he complete in the afternoon? Let's think step by step and output the final answer within \boxed{}.
user