#include <bits/stdc++.h>
#define f first
#define s second
using namespace std;
using ll = long long;
using ii = pair<int, int>;

int d[500005], a[500005], b[500005];

int main() {
	ios_base::sync_with_stdio(0), cin.tie(0);

	int N, D; cin >> N >> D;
	for (int i = 0; i < N; ++i) cin >> d[i];
	
	a[0] = D;
	for (int i = 0; i < N; ++i) a[i + 1] = min(abs(a[i] - d[i]), a[i]);

	b[N] = 1;
	for (int i = N; i > 0; --i) {
		b[i - 1] = b[i] + (b[i] > d[i - 1] / 2 ? d[i - 1] : 0);
	}
	
	int Q; cin >> Q;
	while (Q--) {
		int q; cin >> q;
		cout << (a[q - 1] >= b[q] ? "YES\n" : "NO\n");
	}
}