#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false), cin.tie(0), cout.tie(0);
  ;
  long long n, i, a = 0, b = 1;
  cin >> n;
  for (i = 1; i <= n; i++) {
    if (i == a + b) {
      cout << "O";
      a = b;
      b = i;
    } else {
      cout << "o";
    }
  }
}
