n = int(input()) flag = True for _ in range(n): s = input() if s == 'No': flag = not flag if flag: print('Yes') else: print('No')