#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  string s;
  long long int fibo[n];
  fibo[1] = 1;
  fibo[2] = 1;
  int i = 3;
  for (int i = 3; i < n; i++) {
    fibo[i] = fibo[i - 1] + fibo[i - 2];
    if (fibo[i] > n) {
      break;
    }
  }
  int x = sizeof(fibo) / sizeof(fibo[0]);
  for (int j = 1; j < x; j++) {
    if (binary_search(fibo + 1, fibo + x, j)) {
      s += "O";
    } else {
      s += "o";
    }
  }
  cout << s << endl;
}
