At a certain university, the division of mathematical sciences consists of the departments of mathematics, statistics, computer science, and data science. There are two male and two female professors in each department. A committee of eight professors is to contain four men and four women and must also contain two professors from each of the four departments. Find the number of possible committees that can be formed subject to these requirements.