n,x = map(int,input().split()) print('No') if (1 * x) * 1 == n else print('Yes')