b=0 for i in range(int(input())): if input()=="No":b=1-b print("YNeos"[b::2])