#include <bits/stdc++.h>
using namespace std;
const int maxn = 1000 + 10;
int f[20], vis[1010], n;
int main() {
  scanf("%d", &n);
  f[1] = 1;
  f[2] = 1;
  for (int i = 3; i <= 18; i++) f[i] = f[i - 1] + f[i - 2];
  for (int i = 1; i <= 18; i++) vis[f[i]] = 1;
  for (int i = 1; i <= n; i++)
    if (vis[i])
      printf("O");
    else
      printf("o");
  return 0;
}
