#include <bits/stdc++.h>
using namespace std;
std::vector<long long int> generate_fibo() {
  vector<long long int> fibo;
  fibo.push_back(1);
  fibo.push_back(1);
  int i = 2;
  while ((fibo[i - 1] + fibo[i - 2]) < 1000) {
    fibo.push_back((fibo[i - 1] + fibo[i - 2]));
    i++;
  }
  return fibo;
}
int main() {
  int n;
  cin >> n;
  string name = "";
  std::vector<long long int> fibo = generate_fibo();
  int index_fibo = 0;
  char toadd;
  for (int i = 0; i < n; i++) {
    name = name + 'o';
  }
  int eye = 0;
  while (fibo[eye] <= n) {
    name[fibo[eye] - 1] = 'O';
    eye++;
  }
  cout << name;
  return 0;
}
