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