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