# -*- coding: utf-8 -*- """ No.85 TVザッピング(1) https://yukicoder.me/problems/no/85 """ import sys from sys import stdin input = stdin.readline def main(args): N, M, C = map(int, input().split()) if (N % 2 == 1 and M % 2 == 1) or (N == 1 or M == 1): print('NO') else: print('YES') if __name__ == '__main__': main(sys.argv[1:])