#include <bits/stdc++.h>
using namespace std;
int fib[10000];
void fibo(int n) {
  int term1 = 0, term2 = 1, next_term;
  fib[0] = 0;
  for (int i = 1; i <= 20; i++) {
    next_term = term1 + term2;
    fib[next_term] = 1;
    term1 = term2;
    term2 = next_term;
  }
}
int main() {
  int i, n;
  cin >> n;
  fibo(n);
  for (i = 1; i <= n; i++) {
    if (fib[i] == 0)
      cout << 'o';
    else
      cout << 'O';
  }
  cout << endl;
  return 0;
}
