#include <bits/stdc++.h>
using namespace std;
int main() {
  int a[] = {1,  1,   2,   3,   5,   8,   13,   21,   34,  55,
             89, 144, 233, 377, 610, 987, 1597, 2584, 4181};
  int ss = sizeof(a) / sizeof(a[0]);
  int n;
  cin >> n;
  string p = "";
  for (int i = 1; i <= n; i++) {
    if (count(a, a + ss, i)) {
      p += "O";
    } else
      p += "o";
  }
  cout << p;
}
