import std.algorithm, std.array, std.container, std.range; import std.string, std.conv, std.bigint, std.math, std.random; import std.stdio, std.typecons; void main() { auto rd = readln.split.map!(to!int); auto n = rd[0]; auto m = rd[1]; auto c = rd[2]; if (n > m) swap(n, m); if (n == 1) { writeln(m == 2 ? "YES" : "NO"); } else { writeln(n % 2 == 0 || m % 2 == 0 ? "YES" : "NO"); } }