samar's submission of Counting Graphs | CodeChef