#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int sum = 0;
  int res = 1;
  int prev = 0;
  bool flag[n];
  memset(flag, false, sizeof(flag));
  flag[1] = true;
  while (sum <= n) {
    sum = prev + res;
    prev = res;
    res = sum;
    if (sum > n) {
      break;
    }
    flag[sum] = true;
  }
  string jek = "";
  for (int i = 1; i <= n; i++) {
    if (flag[i]) {
      jek += 'O';
    } else
      jek += 'o';
  }
  cout << jek << endl;
}
