#include using namespace std; int main(){ unsigned int N; cin >> N; if (N % 4 == 0){ cout << 'O' << endl; } else { cout << 'X' << endl; } }