N=int(input()) left=0 for i in range(N): P=input() if P=='No': left+=1 if left%2==1: print('No') else: print('Yes')