#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  scanf("%d", &n);
  int v[1005] = {0}, f[1005];
  f[1] = 1, f[2] = 1;
  v[1] = 1;
  for (int i = 3; i <= n; i++) {
    f[i] = f[i - 1] + f[i - 2];
    if (f[i] > n) break;
    v[f[i]] = 1;
  }
  for (int i = 1; i <= n; i++) {
    if (v[i])
      printf("O");
    else
      printf("o");
  }
  printf("\n");
  return 0;
}
