#include <bits/stdc++.h>
using namespace std;
int main() {
  int i, n, t1 = 0, t2 = 1, nextTerm;
  bool fibo[10000];
  memset(fibo, false, sizeof(fibo));
  cin >> n;
  for (i = 1; i <= 17; i++) {
    fibo[t1] = true;
    nextTerm = t1 + t2;
    t1 = t2;
    t2 = nextTerm;
  }
  for (int i = 1; i <= n; i++) {
    if (fibo[i]) {
      cout << "O";
    } else
      cout << "o";
  }
  cout << endl;
  return 0;
}
