i,j,n,x,y,a,b,map[30][30];main(){char c,t;for(;scanf("%d",&n),n;puts(n?"No":"Yes")){for(i=0;i<30;i++)for(j=0;j<30;j++)map[i][j]=0;for(j=n;j--;map[x][y]=1)scanf("%d%d",&x,&y);scanf("%d",&j);getchar();for(a=b=10;j--;){i=c=0;while((t=getchar())!='\n')if(t>='0' &&t<='9')i=i*10+t-'0';else if(t>'A' && t<'Z')c=t;for(;i--;){c-'N'||b++;c-'E'||a++;c-'S'||b--;c-'W'||a--;if(map[a][b]==1)map[a][b]=0,n--;}}}exit(0);}