n = int(input()) p = [input() for i in range(n)] a = 1 for i in range(n): if p[i] == "No": a = 0 if a == 1: print("Yes") else: print("No")