#include <bits/stdc++.h>
using namespace std;
int a[100100];
int main() {
  int n;
  cin >> n;
  int f[n + 1];
  f[0] = 1;
  f[1] = 1;
  a[1] = 1;
  for (int i = 2; i <= n; i++) {
    f[i] = f[i - 1] + f[i - 2];
  }
  for (int i = 1; i <= n; i++) {
    bool tr = false;
    for (int j = 1; j <= n; j++) {
      if (i == f[j]) {
        cout << "O";
        tr = true;
      }
    }
    if (!tr) {
      cout << "o";
    }
  }
}
