#include <bits/stdc++.h>
using namespace std;
int arr[1005];
int main() {
  arr[1] = 1;
  arr[2] = 1;
  arr[3] = 1;
  arr[5] = 1;
  arr[8] = 1;
  arr[13] = 1;
  arr[21] = 1;
  arr[34] = 1;
  arr[55] = 1;
  arr[89] = 1;
  arr[144] = 1;
  arr[233] = 1;
  arr[377] = 1;
  arr[610] = 1;
  arr[987] = 1;
  int n;
  cin >> n;
  for (int i = 1; i <= n; i++) {
    if (arr[i] == 1)
      printf("O");
    else
      printf("o");
  }
}
