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