Madhav Jha's submission of Frog Sort | CodeChef