#include <bits/stdc++.h>
using namespace std;
vector<int> fibs;
int arr[1010];
void fib() {
  int last = *(fibs.end() - 1);
  int second_last = *(fibs.end() - 2);
  int f = last + second_last;
  fibs.push_back(f);
  arr[f] = 1;
  if (f < 1010) fib();
}
int main() {
  fibs.push_back(1);
  fibs.push_back(1);
  arr[1] = 1;
  fib();
  int n;
  scanf("%d", &n) == 0;
  for (decltype(1) i = 1; i < n + 1; i++) {
    if (arr[i])
      printf("%s", "O");
    else
      printf("%s", "o");
  }
}
