#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int a = 1, b = 1, i = 0;
  string s = "";
  bool aa[n + 5];
  memset(aa, false, sizeof(aa));
  aa[0] = 1;
  aa[a + b - 1] = 1;
  while (i < n) {
    if (b + a - 1 < n) {
      aa[b + a - 1] = 1;
      int c = a + b;
      a = b;
      b = c;
      i++;
    } else
      break;
  }
  i = 0;
  while (i < n) {
    if (aa[i] == 1)
      s += "O";
    else
      s += "o";
    i++;
  }
  cout << s << '\n';
  return 0;
}
