#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n, k, f1 = 1, f2 = 1, f3, b = 0;
  cin >> n;
  for (long long i = 1; i <= n; i++) {
    k = i;
    while (k > 0) {
      f3 = f2 + f1;
      f1 = f2;
      f2 = f3;
      if (i == f1) b++;
      k--;
    }
    f2 = 1;
    f1 = 1;
    if (b >= 1)
      cout << "O";
    else
      cout << "o";
    b = 0;
  }
  return 0;
}
