Soumyadeep Roy's submission of Ups and Downs | CodeChef