#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n;
  cin >> n;
  if (n == 1) return cout << "O", 0;
  char s[n];
  for (long long i = 0; i < n; i++) s[i] = 'o';
  long long a = 1, b = 2, c = 0;
  s[0] = 'O';
  s[1] = 'O';
  while (1) {
    c = b + a;
    a = b;
    b = c;
    if (c > n) break;
    s[c - 1] = 'O';
  }
  for (long long i = 0; i < n; i++) cout << s[i];
  return 0;
}
