#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  vector<int> v;
  int first = 0, second = 1, next, c, i;
  if (n == 1) {
    cout << "O";
    return 0;
  }
  for (c = 0; c < n; c++) {
    if (c <= 1)
      next = c;
    else {
      next = first + second;
      first = second;
      second = next;
    }
    v.push_back(next);
  }
  for (i = 1; i <= n; i++) {
    int key = i;
    if (std::count(v.begin(), v.end(), key))
      cout << "O";
    else
      cout << "o";
  }
}
