#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n;
  cin >> n;
  vector<long long> v;
  v.push_back(1);
  v.push_back(1);
  long long i = 0;
  while (i < 1200) {
    i = v[v.size() - 1] + v[v.size() - 2];
    v.push_back(i);
    i++;
  }
  string s = "";
  for (int i = 1; i <= n; i++) {
    long long q = 0;
    for (int j = 0; j < v.size(); j++) {
      if (v[j] == i) {
        q = 1;
        break;
      }
    }
    if (q == 1)
      s += "O";
    else
      s += "o";
  }
  cout << s << endl;
}
