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