#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  vector<int> v(n + 5, 0);
  vector<int> v1(n + 5, 0);
  v[0] = 0, v[1] = 1, v[2] = 1;
  v1[0] = 0, v1[1] = 1;
  for (int i = 3;; i++) {
    v[i] = v[i - 1] + v[i - 2];
    if (v[i] > n) break;
    v1[v[i]] = 1;
  }
  for (int i = 1; i <= n; i++) {
    if (v1[i])
      cout << 'O';
    else
      cout << 'o';
  }
  cout << endl;
  return 0;
}
