while (n = gets.to_i) != 0
	gem = {}
	n.times { gem[gets.split.map &:to_i] = 0}
	m = gets.to_i
	x = y = 10
	m.times {
		dir, dist = gets.split
		dist = dist.to_i
		dx = dy = 0
		case dir
			when ?N; dy = 1
			when ?S; dy = -1
			when ?W; dx = -1
			when ?E; dx = 1
		end
		dist.times {
			x += dx
			y += dy
			gem.delete [x, y]
		}
	}
	puts gem.empty? ? 'Yes' : 'No'
end