#include <bits/stdc++.h>
int main() {
  int a, b, c, n, i = 1;
  scanf("%d", &n);
  a = 1;
  b = 1;
  while (i <= n) {
    if (b == i) {
      printf("O");
      c = a + b;
      a = b;
      b = c;
    } else
      printf("o");
    i++;
  }
  printf("\n");
}
