#include <bits/stdc++.h>
using namespace std;
int a[100];
char b[10000];
int main() {
  a[0] = a[1] = 1;
  for (int i = 2;; i++) {
    a[i] = a[i - 1] + a[i - 2];
    if (a[i] > 1000) break;
  }
  int n;
  scanf("%d", &n);
  for (int i = 1; i <= n; i++) {
    b[i] = 'o';
  }
  for (int i = 1; a[i] <= n; i++) {
    b[a[i]] = 'O';
  }
  for (int i = 1; i <= n; i++) printf("%c", b[i]);
  return 0;
}
