#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  if (n == 1) {
    cout << "O" << endl;
  } else {
    int f[n];
    f[0] = 1;
    f[1] = 1;
    for (int x = 2; x < n; x++) {
      f[x] = f[x - 1] + f[x - 2];
    }
    string a = "OO";
    for (int x = 2; x <= n; x++) {
      for (int y = 0; y <= n; y++) {
        if (y == n) {
          a += "o";
          break;
        }
        if (x == f[y]) {
          a += "O";
          break;
        }
      }
    }
    cout << a << endl;
  }
  return 0;
}
