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