n, _ = map(int, input().split()) print("No" if n == 1 else "Yes")