#include <bits/stdc++.h>
int main() {
  int a[1000], i, n;
  int b[1000] = {0};
  a[0] = 1;
  a[1] = 2;
  for (i = 2; i < 1000; i++) a[i] = a[i - 1] + a[i - 2];
  for (i = 0; a[i] < 1000; i++) b[a[i] - 1] = 1;
  scanf("%d", &n);
  for (i = 0; i < n; i++) {
    if (b[i] == 1)
      printf("O");
    else
      printf("o");
  }
  return 0;
}
