#include<bits/stdc++.h>
using namespace std;
const int N=500100;
int n,m,s[N],a[N],f[N];
int main(){
	ios::sync_with_stdio(0);cin.tie(0);cout.tie(0);
	cin>>n>>s[0];
	for(int i=1;i<=n;++i){
		cin>>a[i];s[i]=s[i-1];
		if(s[i]>=a[i])s[i]-=a[i];
		else s[i]=min(s[i],a[i]-s[i]);
	}
	f[n]=1;
	for(int i=n;i;--i)if(f[i]<=a[i]/2)f[i-1]=f[i];
	else f[i-1]=f[i]+a[i];
	for(cin>>m;m --> 0;){
		int x;cin>>x;
		cout<<(s[x-1]>=f[x]?"YES\n":"NO\n");
	}
	return 0;
}
