Ivan Deka's submission of Counting Graphs | CodeChef