#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int a[10000];
  a[1] = 1;
  a[2] = 1;
  for (int i = 3; i <= n; i++) {
    a[i] = a[i - 1] + a[i - 2];
  }
  int t = 1;
  for (int i = 1; i <= n; i++) {
    for (int j = 1; j <= n; j++) {
      if (i == a[j]) {
        t = 1;
        cout << 'O';
        j = n;
      } else
        t = 0;
    }
    if (t == 0) cout << 'o';
  }
  cout << endl;
  return 0;
}
