#include <bits/stdc++.h>
using namespace std;
inline int read() {
  int w = 1, data = 0;
  char ch = 0;
  while (ch != '-' && (ch < '0' || ch > '9')) ch = getchar();
  if (ch == '-') w = -1, ch = getchar();
  while (ch >= '0' && ch <= '9') data = data * 10 + ch - '0', ch = getchar();
  return w * data;
}
int f[2000], n, fib[2000];
int main() {
  n = read();
  fib[1] = 1;
  fib[2] = 1;
  f[1] = 1;
  for (int i = 3; i <= 2000; i++) {
    fib[i] = fib[i - 1] + fib[i - 2];
    if (fib[i] <= 2000)
      f[fib[i]] = 1;
    else
      break;
  }
  for (int i = 1; i <= n; i++)
    if (f[i])
      printf("O");
    else
      printf("o");
  return 0;
}
