There are 31 students in a class, number of girls is one more than number of guys. we need to form a team of four students. all four in the team cannot be from same gender and number of girls and guys in the team should NOT be equal. How many ways can such a team be made?