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