Count the Number of Pairs

Problem Name:
Count the Number of Pairs
Site:CodeForces
Links:
Tags:
Problem setters: