Question 12
A team participating in the IMSO 2024 competition consists of six male and six female students. They will be staying in a dormitory consisting of six rooms in a row. Each room must be occupied by exactly two students of the same gender. Moreover, any two adjacent rooms must be occupied by students of different genders. In how many ways can they make such arrangements?