#include <bits/stdc++.h>
using namespace std;
int main() {
  vector<int> fibs;
  fibs.push_back(1);
  fibs.push_back(1);
  for (int i = 3; fibs.back() < 1048576; i++) {
    fibs.push_back(fibs.back() + fibs[fibs.size() - 2]);
  }
  int n;
  scanf("%d", &n);
  for (int i = 1; i <= n; i++) {
    if (binary_search(fibs.begin(), fibs.end(), i)) {
      printf("O");
    } else {
      printf("o");
    }
  }
  return 0;
}
