p = "Yes" for _ in range(int(input())): if input()=="No": p = "No" print(p)