#include <bits/stdc++.h>
using namespace std;
int check_fib(int num) {
  int a = 5 * num * num - 4, b = 5 * num * num + 4;
  double root = sqrt(a);
  double rounded = ceil(root);
  if (abs(root - rounded) == 0) return 1;
  root = sqrt(b);
  rounded = ceil(root);
  if (abs(root - rounded) == 0) return 1;
  return 0;
}
int main() {
  int n;
  string name = "";
  cin >> n;
  for (int i = 1; i <= n; i++)
    if (check_fib(i) == 1)
      name += 'O';
    else
      name += 'o';
  cout << name;
}
