#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  long f = 1, s = 1;
  if (n == 1) return cout << 'O' << endl, 0;
  for (int i = 1; i <= n; i++) {
    if (i == s || i == 1)
      cout << 'O', s += f, f = s - f;
    else
      cout << 'o';
  }
  cout << endl;
}
