A game on a graph | CodeChef