#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int f = 2, s = 3, x = s;
  if (n == 1)
    cout << "O";
  else {
    cout << "OO";
    for (int i = 3; i <= n; i++) {
      if (i == x) {
        x = f + s;
        f = s;
        s = x;
        cout << 'O';
      } else
        cout << 'o';
    }
  }
}
