#include <bits/stdc++.h>
using namespace std;
int main() {
  int i, j, k, n, f[10000], a[10000];
  for (i = 0; i <= 1050; i++) {
    f[i] = 0;
    a[i] = 0;
  }
  f[1] = 1, a[1] = 1;
  f[2] = 1, a[2] = 1;
  for (i = 3; i <= 20; i++) {
    f[i] = f[i - 2] + f[i - 1];
    k = f[i];
    a[k] = 1;
  }
  cin >> n;
  for (i = 1; i <= n; i++) {
    if (a[i] == 1)
      cout << "O";
    else
      cout << "o";
  }
  cout << endl;
  return 0;
}
