#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int n, f[1000], i, j, k;
  long long int x = 0, s = 1;
  scanf("%l64d", &n);
  for (i = 0;; i++) {
    f[i] = x + s;
    x = s;
    s = f[i];
    if (f[i] > n) {
      break;
    }
  }
  for (j = 1; j <= n; j++) {
    for (k = 0; k <= n; k++) {
      if (j == f[k]) {
        printf("O");
        break;
      }
    }
    if (j == f[k]) {
      continue;
    }
    printf("o");
  }
  return 0;
}
