#include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; #define MOD 1000000007 #define ADD(X,Y) ((X) = ((X) + (Y)%MOD) % MOD) typedef long long i64; typedef vector ivec; typedef vector svec; typedef pair pi; int dd[] = { 0, 1, 0, -1, 0 }; int main() { unsigned int N; scanf("%u", &N); unsigned int x = 0; for (unsigned int i = 1; i <= N; i++) { x ^= i; } printf(x ? "O\n" : "X\n"); return 0; }