#include <bits/stdc++.h>
using namespace std;
vector<int> fib(1e5, 0);
vector<int> ar(1e5, 0);
void fib_gen() {
  int i, j;
  ar[1] = 1;
  ar[2] = 1;
  fib[1] = 1;
  int cur = 1;
  i = 3;
  while (cur <= 1000) {
    ar[i] = ar[i - 1] + ar[i - 2];
    cur = ar[i];
    fib[cur] = 1;
    i++;
  }
}
int main() {
  fib_gen();
  int n, i, j;
  string s;
  cin >> n;
  for (i = 1; i <= n; i++) {
    if (fib[i] == 1) {
      s.push_back('O');
    } else
      s.push_back('o');
  }
  cout << s << endl;
}
