#include <bits/stdc++.h>
using namespace std;
long long n, i, f[1000], b[1000];
int main() {
  cin >> n;
  f[1] = 1;
  b[0] = 1;
  f[2] = 1;
  b[1] = 1;
  for (i = 3;; i++) {
    f[i] = f[i - 1] + f[i - 2];
    b[f[i]] = 1;
    if (f[i] >= n) break;
  }
  cout << endl;
  for (i = 1; i <= n; i++) {
    if (b[i] == 1)
      cout << "O";
    else
      cout << "o";
  }
}
