John has three tasks to complete today. He needs to write 12 pages of a report, read 24 pages of a textbook, and solve 18 math problems. If he decides to complete one-third of each task today, how many pages will he write, how many pages will he read, and how many math problems will he solve today? Let's think step by step and output the final answer within \boxed{}.
user