n = int(input()) ans = "Yes" for i in range(n): if input() == "Yes": print(ans) else: ans = "No" print("No")