#include <bits/stdc++.h>
const int inf = 2147483647;
const int ine = -2147482647;
using namespace std;
template <typename _Tp>
inline void rd(_Tp &x) {
  int w = 1;
  char c = 0;
  x = 0;
  while (c ^ '-' && (c < '0' || c > '9')) c = getchar();
  if (c == '-') w = -1, c = getchar();
  while (c >= '0' && c <= '9') x = (x << 1) + (x << 3) + c - '0', c = getchar();
  x *= w;
}
inline int mx(int a, int b) { return a > b ? a : b; }
inline int mn(int a, int b) { return a < b ? a : b; }
int n;
int main() {
  rd(n);
  int f = 1, b = 1;
  for (register int i = 1; i <= n; ++i) {
    if (i == b) {
      printf("o");
      int t = b;
      b += f;
      f = t;
      continue;
    }
    printf("O");
  }
  return 0;
}
