n, m, c = map(int, input().split()) flag = False if n == 1: if m == 2: flag = True elif m == 1: if n == 2: flag = True elif m % 2 == 0 or n % 2 == 0: flag = True if flag: print("YES") else: print("NO")