Eight male chemical engineers with their girlfriends attended a Valentine's party. Afterwards, they bid each other goodbye by shaking hands with one another. Of course, the men did not shake hands with their girlfriends. How many handshakes were there considering that two pairs were quarelling?