import std.stdio, std.conv, std.math, std.string, std.range, std.array, std.algorithm; void main(){ auto buf = readln().strip().split().map!(to!int)(); immutable N = buf[0]; immutable M = buf[1]; writeln((N%2 == 0 || M%2 == 0)?"YES":"NO"); }