Keshav Kumar's submission of Counting Graphs | CodeChef