#include <bits/stdc++.h>
using namespace std;
bool name[1001];
int sum = 0, first = 1, second = 1, n;
int main() {
  name[1] = true;
  name[2] = true;
  while (sum <= 1000) {
    sum = first + second;
    first = second;
    second = sum;
    if (sum <= 1000) name[sum] = true;
  }
  cin >> n;
  for (int i = 1; i <= n; i++) {
    if (name[i])
      cout << "O";
    else
      cout << "o";
  }
  return 0;
}
