#include <bits/stdc++.h>
using namespace std;
int f[21];
int gg[1005];
int main() {
  f[1] = 1;
  f[2] = 1;
  gg[1] = 1;
  for (int i = 3; i <= 20; i++) {
    f[i] = f[i - 1] + f[i - 2];
    if (f[i] >= 1005) continue;
    gg[f[i]] += 1;
  }
  string s;
  int n;
  cin >> n;
  for (int i = 1; i <= n; i++) {
    if (gg[i])
      s += 'O';
    else
      s += 'o';
  }
  cout << s << endl;
  return 0;
}
