#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, a[20];
  a[0] = a[1] = 1;
  for (int i = 2; i < 20; i++) a[i] = a[i - 2] + a[i - 1];
  cin >> n;
  string s = "";
  for (int i = 0; i < n; i++) s += 'o';
  for (int i = 0; a[i] < n; i++) s[a[i] - 1] = 'O';
  cout << s << endl;
  return 0;
}
