#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  int n;
  cin >> n;
  int fib[1005] = {};
  fib[0] = 1;
  fib[1] = 1;
  string s;
  for (int i = 0; i < n; i++) {
    if (i < 2)
      s += 'O';
    else
      s += 'o';
  }
  for (int i = 2; i < 1005; i++) {
    fib[i] = fib[i - 1] + fib[i - 2];
    if (fib[i] - 1 >= n) break;
    s[fib[i] - 1] = 'O';
  }
  cout << s;
  return 0;
}
