#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  vector<int> F(n);
  F[0] = 1;
  F[1] = 1;
  for (int i = 2; i < n; i++) {
    F[i] = F[i - 1] + F[i - 2];
  }
  vector<char> name;
  int k = 1;
  for (int i = 1; i <= n; i++) {
    if (i == F[k]) {
      k += 1;
      name.push_back('O');
    } else {
      name.push_back('o');
    }
  }
  for (int i = 0; i < n; i++) cout << name[i];
  return 0;
}
