a,b = list(map(int,input().split()))



if a == b:

  print("Yes")

else:

  print("No")
n,m=list(map(int,input().split()))

print(("Yes" if n==m else "No"))
a, b = list(map(int, input().split()))
if a == b:
    print("Yes")
else:
    print("No")

n, m = list(map(int, input().split()))
print(("Yes" if n == m else "No"))

-a, b = list(map(int, input().split())) -if a == b: -    print("Yes") -else: -    print("No") +n, m = list(map(int, input().split())) +print(("Yes" if n == m else "No"))