#include <bits/stdc++.h>
using namespace std;
const int inf = (int)1e9 + 7;
const int mxn = (int)2e5 + 7;
map<int, int> mp;
map<int, int>::iterator it;
int f[2000];
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  int n;
  cin >> n;
  f[1] = 1;
  f[2] = 1;
  bool cnt = 0;
  for (int i = 3; i < 20; i++) {
    f[i] = f[i - 1] + f[i - 2];
    mp[f[i]]++;
  }
  cout << "OO";
  for (int i = 3; i <= n; i++) {
    if (mp[i]) {
      cout << "O";
    } else {
      cout << "o";
    }
  }
}
