#include <bits/stdc++.h>
using namespace std;
struct customComparator {
  bool operator()(const int& lhs, const int& rhs) const { return false; }
};
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  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 - 2] + f[i - 1];
  string ans;
  for (int i = 1; i <= n; ++i) {
    for (int j = 0; j < n; ++j) {
      if (f[j] == i) {
        ans.push_back('O');
        break;
      } else if (j == n - 1) {
        ans.push_back('o');
      }
    }
  }
  cout << ans << '\n';
  return 0;
}
