A textbook store sold a combined total of 407 biology and psychology textbooks in a week. The number of psychology textbooks sold was 43 less than the number of biology textbooks sold. How many textbooks of each type were sold?