#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  n++;
  vector<char> arr(n, 'o');
  vector<int> fib(n);
  fib[0] = 1;
  arr[0] = 'O';
  if (n > 1) fib[1] = 1, arr[1] = 'O';
  for (int i = 1; i < n; i++) {
    int t = fib[i] + fib[i - 1];
    if (t >= n) break;
    fib[i + 1] = t;
    arr[t] = 'O';
  }
  for (int i = 1; i < n; i++) cout << arr[i];
}
