Shivam Mahendru's submission of Count The Valleys | CodeChef