#include <bits/stdc++.h>
using namespace std;

int main(){
	ios::sync_with_stdio(false);
	cin.tie(0);  
	int h, w, x, y;
	cin >> h >> w >> x >> y;
		int a = h * w;
		int b = x + y;
		cout << (a % 2 && b % 2 ? "No" : "Yes") << endl;
	
	return 0;	
}

