#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  vector<int> fibs;
  fibs.push_back(1);
  fibs.push_back(2);
  int m = 0;
  for (int i = 1; m < 1000; ++i) {
    m = fibs[i - 1] + fibs[i];
    fibs.push_back(m);
  }
  stringstream s;
  bool isFib = false;
  for (int i = 1; i < n + 1; ++i) {
    for (int j = 0; j < fibs.size(); ++j) {
      if (i == fibs[j]) {
        isFib = true;
        break;
      }
    }
    if (isFib)
      s << "O";
    else
      s << "o";
    isFib = false;
  }
  cout << s.str() << endl;
  return 0;
}
