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