#include <bits/stdc++.h>
using namespace std;
struct debugger {
  static void call(string::iterator it, string::iterator ed) {}
  template <typename T, typename... aT>
  static void call(string::iterator it, string::iterator ed, T a, aT... rest) {
    string b;
    for (; *it != ','; ++it)
      if (*it != ' ') b += *it;
    cout << b << "=" << a << " ";
    call(++it, ed, rest...);
  }
};
int f[10001];
map<int, int> mp;
void fib() {
  int i;
  f[0] = 0;
  f[1] = 1;
  for (i = 2; i <= 10001; i++) {
    f[i] = f[i - 1] + f[i - 2];
    mp[f[i]]++;
  }
}
int main() {
  int n;
  cin >> n;
  fib();
  for (int i = 1; i <= n; i++) {
    if (mp[i] != 0) {
      cout << 'O';
    } else {
      cout << 'o';
    }
  }
}
