#include <bits/stdc++.h>
using namespace std;
vector<long long> fib() {
  vector<long long> v(16);
  v[0] = 1;
  v[1] = 1;
  for (long long i = 2; i < 16; i++) v[i] = v[i - 1] + v[i - 2];
  return v;
}
signed main() {
  std ::ios_base ::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  ;
  long long n;
  cin >> n;
  vector<long long> v = fib();
  long long i = 0;
  string s = "";
  for (long long j = 0; j < n; j++) s += 'o';
  while (n > v[i]) {
    s[v[i] - 1] = 'O';
    i++;
  }
  cout << s;
}
