2. Tine was at a competition where he was supposed to solve 20 problems. For each correctly solved problem, he received 8 points, and for each incorrect solution, 5 points were deducted. For a problem he did not attempt, he received 0 points. He found out that he had scored 13 points. How many problems did he attempt?