N, X = map(int, input().split()) if N == 1: print("Yes") else: print("No")