#include <bits/stdc++.h>
using namespace std;
int main() {
  char ch1, ch2, ch3, ch4;
  int ans = 1, n;
  cin >> n;
  int arr[n];
  arr[0] = 1;
  arr[1] = 2;
  for (int i = 2; i < n; i++) {
    arr[i] = arr[i - 1] + arr[i - 2];
  }
  int x = 1;
  while (n) {
    if (*find(arr, arr + n, x) == x)
      cout << "O";
    else
      cout << "o";
    n--;
    x++;
  }
  return 0;
}
