In a society it is customary for friends of the same sex to hug and for friends of opposite sex to shake hands when they meet. A group of friends met in a party and there were 24 handshakes.
Which one among the following numbers indicates the possible number of hugs?
39
30
21
20