b,c = map(int, input().split()) if b == c: print('YES') else: print('NO')