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