#include <iostream>

using namespace std;
const int MAXN = 5e5+5;
int arr[MAXN];
int distl[MAXN];
int distr[MAXN];
int main(){
    int n;
    cin>>n;
    cin>>distl[0];
    for(int i=1;i<=n;i++){
        cin>>arr[i];
        distl[i] = min(distl[i-1],abs(distl[i-1]-arr[i]));
    }
    distr[n+1] = 1;
    for(int i=n;i>=1;i--){
        distr[i] = distr[i+1];
        if(distr[i]*2>arr[i]){
            distr[i]+=arr[i];
        }
    }
    int q;
    cin>>q;
    while(q--){
        int x;
        cin>>x;
        if(distl[x-1]<distr[x+1]){
            cout<<"NO"<<endl;
        }else{
            cout<<"YES"<<endl;
        }
    }
}