A textbook store sold a combined total of 445 math and chemistry textbooks in a week. The number of chemistry textbooks sold was 67 less than the number of math textbooks sold. How many textbooks of each type were sold?