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