#include <bits/stdc++.h>
using namespace std;
int n;
bool isPerfectSquare(int x) {
  int s = sqrt(x);
  return (s * s == x);
}
bool isFibonacci(int x) {
  return isPerfectSquare(5 * x * x + 4) || isPerfectSquare(5 * x * x - 4);
}
int main() {
  scanf("%d", &n);
  for (int i = 1; i <= n; i++) printf("%c", isFibonacci(i) ? 'O' : 'o');
  printf("\n");
  return 0;
}
