import std.algorithm, std.conv, std.range, std.stdio, std.string; void main() { auto rd = readln.split.to!(int[]), n = rd[0], m = rd[1], c = rd[2]; if (n == 1 && m == 2 || n == 2 && m == 2 || n % 2 == 0 || m % 2 == 0) writeln("YES"); else writeln("NO"); }