A textbook store sold a combined total of 236 history and physics textbooks in a week. The number of history textbooks sold was three times the number of physics textbooks sold. How many textbooks of each type were sold