#include <bits/stdc++.h>
int isperfectsquare(int x) {
  int s = sqrt(x);
  return (s * s == x);
}
int isfibonacci(int n) {
  return (isperfectsquare(5 * n * n + 4) || isperfectsquare(5 * n * n - 4));
}
int main() {
  int n;
  scanf("%d", &n);
  int i;
  for (i = 0; i < n; i++) {
    if (isfibonacci(i + 1))
      printf("O");
    else
      printf("o");
  }
  return (0);
}
