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