b,g = map(int, input().split()) print("YES" if b