C++ :
#include<bits/stdc++.h> using namespace std; int a,b; int main() { cin>>a>>b; if(a%2==0&&b%2==0) cout<<"yes"; else{ if(a%2==1&&b%2==1) cout<<"yes"; else{ cout<<"no"; } } }
By signing up a 大沥中心 universal account, you can submit code and join discussions in all online judging services provided by us.
Using your 大沥中心 universal account