var input = require('fs').readFileSync('/dev/stdin', 'utf8');
var arr=input.trim().split("\n");
arr.shift();
var a=arr.shift().split(" ").map(Number);
arr.shift();
var b=arr.shift().split(" ");
var c=arr.shift().split(" ").map(Number);
b=b.map(function(v,i){
   return [i,v-0,0,c[i]];
});
b.sort(function(a,b){return b[1]-a[1];});
for(var i=0;i<a.length;i++){
   for(var j=0;j<b.length;j++){
      if(a[i]<=b[j][1])b[j][2]+=a[i];
      else break;
   }
}
b.sort(function(a,b){return a[0]-b[0];});
b.forEach(function(v,i){
   console.log((v[2]>=v[3])?"Yes":"No");
});