aman agarwal's submission of Counting Graphs | CodeChef