import sequtils,strutils var N, M, C : int (N, M, C) = stdin.readline.split.map(parseInt) if ((N * M) and 1) == 1: echo "NO" elif N == 1 or M == 1: if N * M == 2: echo "YES" else: echo "NO" else: echo "YES"