#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int f1 = 1, f2 = 1, c;
  string s;
  for (int i = 1; i <= n; i++) {
    if (f2 == i) {
      s += 'O';
      c = f1;
      f1 = f2;
      f2 += c;
    } else
      s += 'o';
  }
  cout << s;
  return 0;
}
