#include <bits/stdc++.h>
using namespace std;
int f[1000];
bool is[1000];
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(nullptr);
  int n;
  cin >> n;
  f[0] = 1, f[1] = 1;
  for (int i = 2; i < 1000; i++) {
    f[i] = f[i - 1] + f[i - 2];
    if (f[i] < 1000) is[f[i]] = true;
    if (f[i] > 1000) break;
  }
  is[0] = true;
  is[1] = true;
  for (int i = 0; i < n; i++) {
    if (is[i])
      cout << "O";
    else
      cout << "o";
  }
  return 0;
}
