#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  int a[1005] = {1, 1};
  cin >> n;
  for (int i = 2; i < n; i++) {
    a[i] = a[i - 1] + a[i - 2];
  }
  int k = 1;
  for (int i = 1; i <= n; i++) {
    if (i == a[k]) {
      cout << "O";
      k++;
    } else
      cout << "o";
  }
  cout << endl;
}
