#include <bits/stdc++.h>
using namespace std;
const int N = 1e6 + 5, inf = 1e9 + 7;
const long double eps = 1e-12;
const long long linf = (long long)1e18 + 7, mod = 1e14;
int main() {
  long long n;
  cin >> n;
  long long f[n + 5];
  f[1] = 1;
  f[2] = 2;
  for (int i = 3; i <= n; i++) {
    f[i] = f[i - 1] + f[i - 2];
  }
  for (int i = 1; i <= n; i++) {
    bool ok = true;
    for (int j = 1; j <= n; j++) {
      if (f[j] == i) {
        ok = false;
        cout << "O";
        break;
      }
    }
    if (ok) {
      cout << "o";
    }
  }
  return 0;
}
