#include using namespace std; using ll = long long; #ifdef LOCAL #include "debug.h" #else #define debug(...) 710 #endif int main(){ ios::sync_with_stdio(false); cin.tie(0); int n; cin >> n; cout << (n%4 == 3 ? "X" : "O") << endl; }