N = int(input()) ab = [] for i in range(N): ab.append(list(map(int,input().split()))) print("Yes")