saurabh middha(enfinet)'s submission of Ups and Downs | CodeChef