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