Smit Hinsu's submission of Riled | CodeChef