I have $4$ different mathematics textbooks and $3$ different psychology textbooks. In how many ways can I place the $7$ textbooks on a bookshelf, in a row, if there must be a psychology textbook exactly in the middle, and there must be a mathematics textbook at each end?