#include <bits/stdc++.h>
using namespace std;
bool per(int n) {
  int s = sqrt(n);
  return (s * s == n);
}
bool fib(int n) { return per(5 * n * n + 4) || per(5 * n * n - 4); }
int main() {
  int n;
  cin >> n;
  char arr[n];
  for (int i = 0; i < n; i++) {
    if (fib(i + 1))
      arr[i] = 'O';
    else
      arr[i] = 'o';
    printf("%c", arr[i]);
  }
  return 0;
}
