#include <bits/stdc++.h>
using namespace std;
int x, h, i = 1;
set<int> s;
int fib(int n) {
  if (n <= 1) return n;
  return fib(n - 1) + fib(n - 2);
}
int main() {
  ios::sync_with_stdio(0), cin.tie(0), cout.tie(0);
  while (h < 1000) {
    s.insert(fib(i));
    h = fib(i);
    i++;
  }
  cin >> x;
  for (int i = 1; i <= x; i++)
    if (i == 1 || i == 2 || i == 3 || i == 5 || i == 8 || i == 13 || i == 21 ||
        i == 34 || i == 55 || i == 89 || i == 144 || i == 233 || i == 377 ||
        i == 610 || i == 987)
      cout << 'O';
    else
      cout << 'o';
}
