#include <bits/stdc++.h>
using namespace std;
int fibo[50];
int main() {
  int n;
  scanf("%d", &n);
  fibo[1] = 1;
  fibo[2] = 1;
  for (int i = 3; i <= 30; i++) {
    fibo[i] = fibo[i - 1] + fibo[i - 2];
  }
  char x[1007];
  for (int i = 0; i < n; i++) {
    x[i] = 'o';
  }
  for (int i = 1; fibo[i] <= n; i++) {
    x[fibo[i] - 1] = 'O';
  }
  printf("%s\n", x);
}
