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