Evan typed 72 pages of notes one day. He typed 1 2 of the pages in the morning and 1 3 of the pages in the afternoon. He typed the rest of the pages in the evening. How many pages of notes did he type in the morning and afternoon?