COMC 2017 B Problem 2

There are twenty people in a room, with a men and b women. Each pair of men shakes hands, and each pair of women shakes hands, but there are no handshakes between a man and a woman. The total number of handshakes is 106. Determine the value of a \times b.