#include <bits/stdc++.h>
int main() {
  int n, i, j, sum, m = 0, l = 1, count = 0;
  scanf("%d", &n);
  char ara[n + 10];
  for (i = 0; i < n; i++) {
    ara[i] = 'o';
  }
  i = 0;
  while (1) {
    sum = m + l;
    if (sum > n) break;
    m = l;
    l = sum;
    ara[sum - 1] = 'O';
    count++;
    i++;
  }
  for (i = 0; i < n; i++) {
    printf("%c", ara[i]);
  }
}
