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