#include <bits/stdc++.h>
using namespace std;
long long a[16] = {1,  1,  2,  3,   5,   8,   13,  21,
                   34, 55, 89, 144, 233, 377, 610, 987};
long long n, q;
string s;
int main() {
  cin >> n;
  for (int i = 1; i <= n; i++) {
    q = 0;
    while (q != 16) {
      q++;
      if (a[q] == i) {
        s += "O";
        goto to;
      }
    }
    s += "o";
  to:;
  }
  cout << s;
}
