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