#include void solve() { int n, m; std::cin >> n >> m; std::cout << (n > 1 && m > 1 && n * m % 2 == 0 ? "YES" : "NO") << std::endl; } int main() { std::cin.tie(nullptr); std::ios::sync_with_stdio(false); solve(); return 0; }