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