#include <bits/stdc++.h>
using namespace std;
bool subString(string s, string subs) { return (int)s.find(subs) != -1; }
int main() {
  ios::sync_with_stdio(0), cin.tie(0), cout.tie(0);
  vector<int> v(2);
  v[0] = 1;
  v[1] = 1;
  int n;
  cin >> n;
  for (int i = 0; i < n; i++) {
    if (i > 1) {
      v.push_back(v[i - 1] + v[i - 2]);
    }
  }
  int j = 1;
  for (int i = 0; i < n; i++) {
    if (i + 1 == v[j])
      cout << 'O', j++;
    else
      cout << 'o';
  }
}
