Raman Bansal's submission of Algorithm Challenge | CodeChef