#include <bits/stdc++.h>
using namespace std;
int n, c = 1, c2 = 1, c3 = 1;
int main() {
  cin >> n;
  for (int i = 1; i <= n; i++) {
    if (c == i) {
      c3 = c;
      c += c2;
      c2 = c3;
      cout << "O";
    } else {
      cout << "o";
    }
  }
  cout << endl;
  return 0;
}
