n, m, c = map(int, input().split()) if n > m: n, m = m, n if n == 1 and 1 <= m <= 2: print("YES") elif n == 1: print("NO") elif n % 2 == 1 and m % 2 == 1: print("NO") else: print("YES")