#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  string s = "";
  int f[n];
  f[0] = 1, f[1] = 1;
  if (n > 1 && n < 5) {
    for (int i = 2; i < 2 * n; i++) f[i] = f[i - 2] + f[i - 1];
    int g = 1, k = 0;
    while (g <= n) {
      for (int j = 0; j < 2 * n; j++)
        if (g == f[j]) {
          k++;
        }
      if (k > 0)
        s = s + 'O';
      else if (k == 0)
        s = s + 'o';
      g++;
      k = 0;
    }
  } else {
    for (int i = 2; i < n; i++) f[i] = f[i - 2] + f[i - 1];
    int g = 1, k = 0;
    while (g <= n) {
      for (int j = 0; j < n; j++)
        if (g == f[j]) {
          k++;
        }
      if (k > 0)
        s = s + 'O';
      else if (k == 0)
        s = s + 'o';
      g++;
      k = 0;
    }
  }
  cout << s;
  return 0;
}
