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