#include <bits/stdc++.h>
using namespace std;
int f[101], n;
bool v[100001];
int main() {
  f[1] = f[2] = 1;
  v[1] = true;
  for (int i = 3; i <= 20; i++) {
    f[i] = f[i - 1] + f[i - 2];
    v[f[i]] = true;
  }
  cin >> n;
  for (int i = 1; i <= n; i++) {
    if (v[i])
      cout << "O";
    else
      cout << "o";
  }
  return 0;
}
