N,M,C=[int(n) for n in input().split()] if N< 2 or M< 2 or (N%2 == 1 and M%2== 1): print('NO') else: print('YES')