import sys input = sys.stdin.readline N = int(input()) ans = [] now = 1 for i in range(N): s = input().rstrip() if s == "No": now = 1 - now if now: print("Yes") else: print("No")