#include "bits/stdc++.h" using namespace std; #define rep(i, n) for (int i = 0; i < (n); i ++) int main() { long long n; cin >> n; n ++; if (n % 4 == 0) cout << "X" << endl; else cout << "O" << endl; return 0; }