N = int(input()) h, w = map(int, input().split()) if (h,w) == (1,1): print("No") elif h == 1 or w == 1 or h == w: print("Yes") else: print("No")