#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  vector<int> v;
  v.push_back(1);
  v.push_back(1);
  int c;
  for (int i = 2; i < n - 2; i++) {
    c = v[i - 1] + v[i - 2];
    v.push_back(c);
  }
  string s = "";
  int i;
  for (i = 0; i < n; i++) {
    if (find(v.begin(), v.end(), i + 1) != v.end())
      s += 'O';
    else
      s += 'o';
  }
  cout << s;
}
