#include "bits/stdc++.h" using namespace std; #define print(x) cout< PI; typedef pair V; typedef vector VE; const ll mod = 1000000007; //10^9+7 ll n; int main(){ cin>>n; int a=0; REP(i,n)a^=i; string ans=a==0?"O":"X"; print(ans); }