#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  int n;
  cin >> n;
  int a[n];
  a[1] = 1;
  a[2] = 2;
  for (int i = 3; i <= n; i++) a[i] = a[i - 1] + a[i - 2];
  for (int i = 1; i <= n; i++) {
    for (int j = 1; j <= n; j++) {
      if (i == a[j]) {
        cout << 'O';
        goto v;
      }
      if (a[j] > i) break;
    }
    cout << 'o';
    continue;
  v:;
  }
}
