#include <bits/stdc++.h>
using namespace std;
map<int, int> vis;
int main() {
  int n, f[1050];
  ;
  scanf("%d", &n);
  f[1] = 1;
  f[2] = 2;
  vis[1] = 1;
  vis[2] = 1;
  for (int i = 3; i <= 1003; i++) {
    f[i] = f[i - 1] + f[i - 2];
    vis[f[i]] = 1;
  }
  for (int i = 1; i <= n; i++) {
    if (vis[i] == 1)
      printf("O");
    else
      printf("o");
  }
  printf("\n");
}
