#include <bits/stdc++.h>
int main() {
  int a[1000], i, k, f1 = 1, f2 = 1, fn, n;
  char c[1000];
  scanf("%d", &n);
  for (i = 0; i < n; i++) {
    a[i] = f1;
    a[i + 1] = f2;
    fn = f1 + f2;
    f1 = f2;
    f2 = fn;
    c[i] = 'o';
  }
  for (i = 0; i < n; i++) {
    for (k = 0; k < n; k++) {
      if ((i + 1) == a[k]) {
        c[i] = 'O';
      }
    }
    printf("%c", c[i]);
  }
  return 0;
}
