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