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