#include <bits/stdc++.h>
using namespace std;
char str[1001];
int n;
int cur = 1;
int prv = 1;
void genFib() {
  int tmp = prv + cur;
  prv = cur;
  cur = tmp;
}
int main() {
  scanf("%d", &n);
  for (int i = 0; i < n; i++) {
    if (i + 1 == cur) {
      str[i] = 'O';
      genFib();
    } else {
      str[i] = 'o';
    }
  }
  str[n] = '\0';
  printf("%s", str);
  return 0;
}
