#include<bits/stdc++.h>
using namespace std;
using Int = long long;
template<typename T1,typename T2> inline void chmin(T1 &a,T2 b){if(a>b) a=b;}
template<typename T1,typename T2> inline void chmax(T1 &a,T2 b){if(a<b) a=b;}

//INSERT ABOVE HERE
signed main(){
  int n,m;
  cin>>n>>m;
  vector<int> p(m);
  for(int i=0;i<m;i++) cin>>p[i];
  
  vector<int> cnt(n+1,0);
  for(int i=0;i+1<m;i++) cnt[p[i+1]-p[i]-1]++;

  vector<int> v(n+2,0);
  int sum=0;
  for(int i=n;i>=1;i--){
    sum+=cnt[i];
    v[i]=v[i+1]+sum;
    //cout<<i<<":"<<v[i]<<endl;
  }
  
  int q;
  cin>>q;
  for(int i=0;i<q;i++){
    int x;
    cin>>x;
    x-=p[0]-1;
    if(x<0){
      cout<<-1<<"\n";
      continue;
    }
    int l=0,r=n;
    while(l+1<r){
      int mid=(l+r)>>1;
      if(max(0,n-p[m-1]-(mid-1))+v[mid]<=x) r=mid;
      else l=mid;
    }
    cout<<r<<"\n";
  }
  cout<<flush;
  return 0;
}

