#include <cstdio>
#define my_abs(x) ((x) < 0 ? -(x) : (x))
int arr[500005], dp[500005], pos[500005];
int main()
{
	// freopen("ARC072-E.in", "r", stdin); 
	int n, d; 
	scanf("%d%d", &n, &d);
	for (int i = 0; i < n; i++)
		scanf("%d", arr + i); 
	dp[n] = 1; 
	for (int i = n - 1; i >= 0; i--)
	{
		if (dp[i + 1] <= arr[i] / 2)
			dp[i] = dp[i + 1]; 
		else
			dp[i] = dp[i + 1] + arr[i]; 
	}
	pos[0] = d; 
	for (int i = 0; i < n; i++)
	{
		if (my_abs(pos[i] - arr[i]) < pos[i])
			pos[i + 1] = my_abs(pos[i] - arr[i]); 
		else
			pos[i + 1] = pos[i]; 
	}
	int q; 
	scanf("%d", &q); 
	while (q--)
	{
		int x; 
		scanf("%d", &x); 
		puts(dp[x] <= pos[x - 1] ? "YES" : "NO"); 
	}
	return 0; 
}
