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