#include <bits/stdc++.h>
using namespace std;
int fib[1020];
int main() {
  fib[1] = 1;
  fib[2] = 1;
  fib[3] = 2;
  for (int i = 4; i <= 1000; i++) {
    fib[i] = fib[i - 1] + fib[i - 2];
  }
  int n;
  cin >> n;
  for (int i = 1; i <= n; i++) {
    bool flag = false;
    for (int j = 1; j <= n; j++) {
      if (i == fib[j]) flag = true;
    }
    if (flag)
      cout << "O";
    else
      cout << "o";
  }
  return 0;
}
