#include <bits/stdc++.h>
#pragma GCC optimize("Ofast")
#pragma GCC optimize("unroll-loops")
#pragma GCC target( \
    "sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,avx2,tune=native")
using namespace std;
int n, w, q, a[101010], l[101010], mn[101010], mx[101010], ans[101010];
int main() {
  scanf("%d%d%d", &n, &w, &q);
  for (int i = 1; i <= n; i++) {
    scanf("%d", &a[i]);
  }
  for (int i = 1; i <= q; i++) {
    scanf("%d", &l[i]);
    l[i] = w - l[i];
    mx[i] = a[1];
    mn[i] = a[1];
  }
  for (int i = 2; i <= n; i++) {
    for (int j = 1; j <= q; j++) {
      mx[j] = (a[i] > mx[j] ? a[i] : mx[j]);
      mn[j] = (a[i] < mn[j] ? a[i] : mn[j]);
      mx[j] - mn[j] <= l[j] ?: (mx[j] = mn[j] = a[i], ans[j]++);
    }
  }
  for (int i = 1; i <= q; i++) {
    printf("%d\n", ans[i]);
  }
  return 0;
}
