#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  string s;
  for (int i = 0; i < n; i++) s.push_back('o');
  int first = 0, second = 1, res = 1;
  while (res < n) {
    res = first + second;
    s[res - 1] = 'O';
    second = res;
    first = second;
  }
  cout << s;
}
