#include <bits/stdc++.h>
int main() {
  int n, i;
  int a[16] = {1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987};
  scanf("%d", &n);
  for (i = 1; i <= n; i++) {
    int j;
    for (j = 0; j < 16; j++)
      if (i == a[j]) {
        printf("O");
        goto end;
      }
    printf("o");
  end:;
  }
  printf("\n");
  return 0;
}
