b=1 for i in range(int(input())): if input()=="No":b=1-b print("Yes"if b==1 else"No")