#include <bits/stdc++.h>
using namespace std;
int fibo(int n) {
  int f1 = 0, f2 = 1, f;
  for (int i = 2; i < n; i++) {
    f = f1 + f2;
    f1 = f2;
    f2 = f;
  }
  return f;
}
int main() {
  int n;
  cin >> n;
  if (n == 1)
    cout << 'O' << endl;
  else {
    string s = "";
    vector<int> v;
    for (int i = 1; i <= n; i++) {
      v.push_back(fibo(i));
      s += 'o';
    }
    for (int i = 0; i < v.size(); i++) {
      int k = v[i];
      if (k <= s.length()) {
        if (k == 0)
          s[0] = 'O';
        else
          s[k - 1] = 'O';
      }
    }
    cout << s << endl;
  }
}
