X = int(input()) Y = int(input()) if X == Y: print("Yes") else: print("No")