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