#include using namespace std; typedef long long ll; signed main(){ ios::sync_with_stdio(false); cin.tie(0); cout << fixed << setprecision(20); ll n; cin>>n; if(n%4==3){ cout << "X\n"; return 0; } cout << "O\n"; }