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