#include <bits/stdc++.h>
using namespace std;
int temp[1000] = {0};
char a[1000];
int main() {
  int n;
  cin >> n;
  temp[0] = temp[1] = 1;
  a[0] = a[1] = 'O';
  for (int i = 2; i < n; i++) {
    temp[i] = temp[i - 1] + temp[i - 2];
    a[i] = 'o';
  }
  int j = 0;
  while (temp[j] <= n) {
    a[temp[j] - 1] = 'O';
    ++j;
  }
  a[n] = '\0';
  cout << a << endl;
  return 0;
}
