The first line of input contains two integers
and k
, indicating the number of snack stalls and the capacity of Bob's stomach.
The second line of input containsintegers

, the
th of which indicates the pleasure of the
th snack stall.
Print one integer denoting the maximum pleasure Bob can get.