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