#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, t;
  cin >> n;
  t = n;
  int a = 1, b = 1, sum = 0;
  vector<int> v;
  v.push_back(1);
  v.push_back(1);
  while (n--) {
    sum = a + b;
    a = b;
    b = sum;
    v.push_back(sum);
  }
  string s;
  for (int i = 1; i <= t; i++) {
    auto it = find(v.begin(), v.end(), i);
    if (it == v.end()) {
      s += 'o';
    } else {
      s += 'O';
    }
  }
  cout << s;
  return 0;
}
