#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int f = 1, p = 1, x = 1, k;
  for (int i = 1; i <= n; i++) {
    if (i == f) {
      cout << "O";
      k = x;
      f = k + p;
      x = p;
      p = f;
    } else
      cout << "o";
  }
  cout << endl;
  return 0;
}
