d = { "N" => [0, 1],
      "E" => [1, 0],
      "W" => [-1, 0],
      "S" => [0, -1] }

while true do
  n = gets.to_i
  break if n == 0

  field = Array.new(21, 0).map{ Array.new(21, 0) }
  gems = []
  n.times do
    gems << gets.split.map(&:to_i)
  end

  x, y = 10, 10
  field[x][y] = 1
  gets.to_i.times do
    dir, dis = gets.split
    dis.to_i.times do
      x += d[dir][0]
      y += d[dir][1]
      field[x][y] = 1
    end
  end

  count = 0
  gems.each do |gem|
    if field[gem[0]][gem[1]] == 1
      count += 1
    else
      break
    end
  end

  puts count == n ? "Yes" : "No"
end