#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(0);
  int n;
  cin >> n;
  int F[10001] = {1, 1};
  int A[10001] = {0, 1};
  for (int i = 2; F[i - 1] <= 1000; i++)
    F[i] = F[i - 1] + F[i - 2], A[F[i]] = 1;
  for (int i = 1; i <= n; i++) cout << (A[i] ? 'O' : 'o');
}
