ok=True for _ in range(int(input())): ok^=input()=="No" print("YNeos"[not ok::2])