A, B = map(int, input().split()) print('YES' if A