#include <bits/stdc++.h>
const int N = 1005;
bool w[N];
int a[N];
int main() {
  a[1] = a[2] = 1, w[1] = true;
  for (int i = 3; a[i - 2] + a[i - 1] <= 1000; i++)
    a[i] = a[i - 1] + a[i - 2], w[a[i]] = true;
  int n;
  scanf("%d", &n);
  for (int i = 1; i <= n; i++) putchar(w[i] == true ? 'O' : 'o');
  return 0;
}
