#include <bits/stdc++.h>
using namespace std;
int main() {
  int f0 = 1, f = 1;
  map<int, int> mp;
  mp[1] = 1;
  for (int i = 0; f <= 1000; i++) {
    int tmp = f;
    f += f0;
    f0 = tmp;
    mp[f] = 1;
  }
  int n;
  cin >> n;
  for (int i = 1; i <= n; i++) {
    if (mp[i])
      cout << "O";
    else
      cout << "o";
  }
  return 0;
}
