#include <bits/stdc++.h>
using namespace std;
const int maxn = 10000;
bool num[maxn];
void fib(int a, int b) {
  while (a <= 1000 && b <= 1000) {
    int c = a + b;
    num[c] = true;
    a = b;
    b = c;
  }
}
int main() {
  memset(num, false, sizeof(num));
  num[1] = true;
  num[2] = true;
  fib(1, 1);
  int n;
  while (~scanf("%d", &n)) {
    for (int i = 1; i <= n; ++i) {
      if (num[i])
        printf("O");
      else
        printf("o");
    }
    printf("\n");
  }
  return 0;
}
