#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  string s = "";
  vector<int> fib;
  fib.push_back(1);
  fib.push_back(1);
  for (int i = 2; i < 17; ++i) {
    fib.push_back(fib[i - 1] + fib[i - 2]);
  }
  for (int i = 1; i <= n; ++i) {
    if (binary_search(fib.begin(), fib.end(), i) == 1) {
      s.append(1u, 'O');
    } else {
      s.append(1u, 'o');
    }
  }
  cout << s << "\n";
}
