x,y=input().split()

x=int(x)

y=int(y)







if x==y:

    print("Yes")



else:

    print("No")

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

if (n == m):

    print("Yes")

else:

    print("No")
x, y = input().split()
x = int(x)
y = int(y)
if x == y:
    print("Yes")
else:
    print("No")

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

-x, y = input().split() -x = int(x) -y = int(y) -if x == y: +n, m = list(map(int, input().split())) +if n == m: