Problems
None of the two conditions
include <bits/stdc++.h>
define ll long long
using namespace std; int main() { ll n; cin>>n; if((n%2==0 and n>0) or (n<0 and n%2!=0)) { cout<<"NO"<<endl; } else { cout<<"YES"<<endl; } return 0; }
using namespace std; int main() { ll n; cin>>n; if((n%2==0 and n>0) or (n<0 and n%2!=0)) { cout<<"NO"<<endl; } else { cout<<"YES"<<endl; } return 0; }