#include< iostream >
using namespace std;
int main() {
int n, m;
cin >> n >> m;
cout << (((n + (m-1))%2 == 0)? 0 : 1 ) << endl;
return 0;
}
using namespace std;
int main() {
int n, m;
cin >> n >> m;
cout << (((n + (m-1))%2 == 0)? 0 : 1 ) << endl;
return 0;
}
No comments:
Post a Comment