#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  for (int i = 1; i <= n; i++) {
    double a = 5 * i * i + 4;
    double b = 5 * i * i - 4;
    int sqa = (int)sqrt(a);
    int sqb = (int)sqrt(b);
    if (sqa * sqa == a || sqb * sqb == b || sqa * sqa + 1 == a ||
        sqb + 1 * sqb + 1 == b)
      cout << "O";
    else
      cout << "o";
  }
}
