#include <bits/stdc++.h>
using namespace std;
const int NMAX = 1010;
int n;
bool flag[NMAX];
int main() {
  scanf("%d", &n);
  int a = 1, b = 1, c;
  flag[1] = true;
  while (true) {
    c = a + b;
    if (c >= NMAX) break;
    a = b;
    b = c;
    flag[b] = 1;
  }
  for (int i = 1; i <= n; i++) {
    if (flag[i])
      printf("O");
    else
      printf("o");
  }
  printf("\n");
  return 0;
}
