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