a,b = input().split() s = 'Yes' if a==b else 'No' print(s)