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