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