#include <bits/stdc++.h>
using namespace std;
int main() {
  int a[1001] = {0}, i = 1, j = 1, t, n;
  while (i < 1001) {
    a[i] = 1;
    t = i + j;
    i = j;
    j = t;
  }
  cin >> n;
  for (int k = 1; k <= n; ++k) {
    cout << (a[k] ? 'O' : 'o');
  }
  return 0;
}
