Sergey Kulik's submission of Greedy Trip | CodeChef