#include <bits/stdc++.h>
int main() {
  int n, k = 0, l, t1 = 0, t2 = 1, i, j;
  int a[1005], mark[1005];
  scanf("%d", &n);
  for (t2 = 1; t2 <= n;) {
    a[k++] = t2;
    l = t1 + t2;
    t1 = t2;
    t2 = l;
  }
  for (i = 0; i < k; i++) {
    mark[a[i]] = 1;
  }
  for (i = 1; i <= n; i++) {
    if (mark[i] == 1)
      printf("O");
    else
      printf("o");
  }
  printf("\n");
  return 0;
}
