#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int arr[n];
  arr[0] = 1;
  int k = 1, a = 1, b = 1;
  while (b <= n) {
    a = a + b;
    arr[k] = a;
    k++;
    b = a + b;
    arr[k] = b;
    k++;
  }
  for (int i = 1; i <= n; i++) {
    int c = 0;
    for (int j = 0; j < k; j++)
      if (i == arr[j]) {
        c = 1;
        break;
      }
    if (c == 1)
      cout << "O";
    else
      cout << "o";
  }
  return 0;
}
