#!/usr/bin/env python3 h, w, _ = map(int, input().split()) print(['NO', 'YES'][2 <= h and 2 <= w and (h % 2 == 0 or w % 2 == 0)])