#include<cstdio>
#include<algorithm>
#define MN 5100001
#define ll long long
using namespace std;

ll read_p,read_ca;
inline ll read(){
    read_p=0;read_ca=getchar();
    while(read_ca<'0'||read_ca>'9') read_ca=getchar();
    while(read_ca>='0'&&read_ca<='9') read_p=read_p*10+read_ca-48,read_ca=getchar();
    return read_p;
}
ll n,q,d,a,p[MN],w[MN];
ll ma[MN];
ll min(ll x,ll y){return x<y?x:y;}
ll _abs(ll x){return x<0?-x:x;}
int main(){
	register ll i;
	n=read();d=read();p[0]=d;
	for (i=1;i<=n;i++) w[i]=read();
	for (i=1;i<=n;i++) p[i]=min(p[i-1],_abs(p[i-1]-w[i]));
	ma[n+1]=0;
	for (i=n;i;i--)
	if (w[i]/2<=ma[i+1]) ma[i]=ma[i+1]+w[i];else ma[i]=ma[i+1];
	
	q=read();
	while (q--) a=read(),puts(p[a-1]>ma[a+1]?"YES":"NO");
}