from sys import stdin n, w, *a = map(int, stdin.read().split()) ans = 0 pricetable = [0 for i in range(1<> 1 pricetable[i] = price for i in range(1,1<