#include <bits/stdc++.h>
using namespace std;
int vis[1005];
void fun() {
  memset(vis, 0, sizeof(vis));
  int num1 = 1;
  int num2 = 1;
  vis[1] = 1;
  for (int i = 3; i <= 16; i++) {
    int temp = num1 + num2;
    vis[temp] = 1;
    num2 = num1;
    num1 = temp;
  }
}
int main() {
  fun();
  int N;
  while (~scanf("%d", &N)) {
    for (int i = 1; i <= N; i++) {
      if (vis[i]) {
        printf("O");
      } else {
        printf("o");
      }
    }
    printf("\n");
  }
  return 0;
}
