#include <bits/stdc++.h>
using namespace std;
int main() {
  int a[] = {1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987};
  int n, i, m;
  cin >> n;
  m = 1;
  for (i = 1; i <= n; i++) {
    if (a[m] == i) {
      m++;
      cout << "O";
    } else
      cout << "o";
  }
  cout << endl;
}
