#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int f1 = 1, f2 = 2, f;
  if (n == 1) {
    cout << "O" << endl;
  } else if (n == 2) {
    cout << "OO" << endl;
  } else {
    cout << "OO";
    f = f1 + f2;
    for (int i = 2; i < n; i++) {
      if (i == (f - 1)) {
        cout << "O";
        f1 = f2;
        f2 = f;
        f = f1 + f2;
      } else {
        cout << "o";
      }
    }
  }
  return 0;
}
