n, m, l = map(int, input().split()) A = list(map(int, input().split())) DP = [[False for _ in range(1001)] for _ in range(n + 1)] DP[0][l] = True for i in range(n): a = A[i] for j in range(1001): if DP[i][j]: DP[i + 1][j] = True DP[i + 1][(j + a) // 2] = True if DP[n][m]: print("Yes") else: print("No")