#include <bits/stdc++.h>
using namespace std;
int main() {
  long i, j, k, l, m, n, f1, f2, c;
  long a[1005];
  a[0] = f1 = 1;
  a[1] = f2 = 1;
  k = 0;
  for (i = 2;; i++) {
    if (a[i - 1] > 1000) break;
    a[i] = f1 + f2;
    f1 = f2;
    f2 = a[i];
    k++;
  }
  long b[1002];
  for (i = 1; i <= 1000; i++) b[i] = 0;
  for (i = 0; i <= k; i++) {
    c = a[i];
    b[c] = 1;
  }
  while (scanf("%ld", &n) == 1) {
    for (i = 1; i <= n; i++) {
      if (b[i] == 1)
        printf("O");
      else
        printf("o");
    }
    printf("\n");
  }
  return 0;
}
