#include <bits/stdc++.h>
using namespace std;
unsigned long long Fib[1001];
int main() {
  int n;
  cin >> n;
  Fib[0] = 1;
  Fib[1] = 1;
  for (int i = 3; i <= n + 1; i++) {
    Fib[i] = Fib[i - 1] + Fib[i - 2];
  }
  string r = "";
  int s = 4;
  for (int i = 1; i <= n; i++) {
    if (i == Fib[s]) {
      r += "O";
      s++;
    } else
      r += "o";
  }
  cout << r;
  return 0;
}
