In a group of friends, each two people have exactly five common acquaintances. Prove that the number of pairs of friends is divisible by 3.