#include <bits/stdc++.h>
using namespace std;
int main() {
  int t1 = 0, t2 = 1, nextTerm = 0, n;
  cin >> n;
  int arr[n];
  arr[0] = t1;
  arr[1] = t2;
  int i = 2;
  while (nextTerm <= n) {
    t1 = t2;
    t2 = nextTerm;
    nextTerm = t1 + t2;
    arr[i] = t1 + t2;
    i++;
  }
  string s;
  for (int j = 0; j < n; j++) {
    s[i] = 'o';
  }
  for (int j = 0; j < i; j++) {
    s[arr[j]] = 'O';
  }
  cout << s << endl;
  return 0;
}
