Vibhav Aggarwal's submission of Counting Graphs | CodeChef