Dhruv Patel's submission of Ups and Downs | CodeChef