#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n, x = 0, y = 1, next, f = 0;
  cin >> n;
  int a[n];
  if (n > 3) {
    for (int i = 1; i <= n; i++) {
      next = x + y;
      x = y;
      y = next;
      a[i] = next;
    }
    for (int i = 1; i <= n; i++) {
      f = 0;
      for (int j = 0; j < n; j++) {
        if (a[j] == i) {
          cout << "O";
          f = 1;
        }
      }
      if (!f) {
        cout << "o";
      }
    }
  } else {
    for (int i = 0; i < n; i++) cout << "O";
  }
  return 0;
}
