#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int fibo[n + 1];
  fibo[1] = fibo[2] = 1;
  for (int i = 3; i <= n; i++) fibo[i] = fibo[i - 1] + fibo[i - 2];
  string retval;
  for (int i = 1; i <= n; i++) {
    bool found = false;
    for (int j = 1; j <= n; j++)
      if (fibo[j] == i) found = true;
    retval += found ? 'O' : 'o';
  }
  cout << retval << endl;
}
