N = int(input()) H, W = map(int, input().split()) print("Yes" if min(H, W) == 1 or H == W else "No")