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