Company: Bank_Of_America
Difficulty: medium
Maximum Consecutive Products Problem Description Reeta loves spending time on shopping and, most of all, she loves spending time in shopping malls. This time Reeta has decided to spend a very limited money on shopping and made plan to stop overspending. She has the budget of X amount of money. The store she visited has n-numbers of items to buy. Reeta's plan: She decided that, this time she won't wonder in store for comparing the products all she would do is, she will find sets of consecutive products which are in row and buy as much as she can. With a program, help Reeta to identify the consecutive product such a way that she could buy the maximum number of products within the budget. Read the input from STDIN and write the output to STDOUT. You should not write arbitrary strings while reading the input and while printing as these contribute to the standard output. Input Format The first line of input contains two integers N and X, where N is number of items in store and X is the budg