def solve(K, A): if K == sum(A) or K == -sum(A): return False st = set() for a in A: new_st = set() new_st.add(a) for x in st: new_st.add(x) new_st.add(a - x) new_st.add(x - a) st = new_st # print(st) return K in st N, K = map(int, input().split()) A = list(map(int, input().split())) print("Yes" if solve(K, A) else "No")