Twelve couples met at a party. Each person shook the hand of each of the other people except their beloved spouse. How many handshakes were there?