#include <bits/stdc++.h>
using namespace std;
map<int, int> m;
int main() {
  int n;
  scanf("%d", &n);
  int fib[1010];
  fib[1] = 1;
  fib[2] = 1;
  m[1] = 1;
  for (int i = 3; i <= 20; i++) {
    fib[i] = fib[i - 1] + fib[i - 2];
    m[fib[i]] = 1;
  }
  for (int i = 0; i < n; i++) {
    if (m[i + 1])
      printf("O");
    else
      printf("o");
  }
  printf("\n");
}
