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