import sys import math def main(): N, K = map(int, sys.stdin.readline().split()) A = list(map(int, sys.stdin.readline().split())) if K in A: print("Yes") return # Compute GCD current_gcd = A[0] for num in A[1:]: current_gcd = math.gcd(current_gcd, abs(num)) if current_gcd == 0: current_gcd = abs(A[0]) if K % current_gcd != 0: print("No") return # Now, check if K can be expressed as a sum of subset with +/- signs target = K possible = {0} for num in A: temp = set() for p in possible: temp.add(p + num) temp.add(p - num) possible.update(temp) if target in possible: print("Yes") else: print("No") if __name__ == "__main__": main()