Ankur Kayal's submission of Pairwise AND sum | CodeChef