Anup Ghosh's submission of Frog Sort | CodeChef