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