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