#include <bits/stdc++.h>
using namespace std;
int a[2005];
void fb(int n) {
  int x = 1, y = 1, t;
  a[1] = 1;
  while (x < n) {
    t = x;
    x += y;
    y = t;
    a[x] = 1;
  }
}
int main() {
  fb(1000);
  int n;
  scanf("%d", &n);
  for (int i = 1; i <= n; i++) {
    if (a[i])
      printf("O");
    else
      printf("o");
  }
}
