#include using namespace std; typedef long long ll; int main() { ll r,c; cin>>r>>c; if (r==c) { if (r%2==0) cout<