Harshit Kumar Gupta's submission of IW | CodeChef