#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  map<int, int> m;
  int v[10005] = {0};
  v[0] = 1;
  v[1] = 1;
  m[1] = 1;
  for (int i = 2; i < 10005; i++) {
    v[i] = v[i - 1] + v[i - 2];
    m[v[i]] = 1;
  }
  for (int i = 1; i <= n; i++) {
    if (m[i] == 1)
      cout << "O";
    else
      cout << "o";
  }
}
