#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  string h = "";
  for (int i = 1; i <= n; i++) {
    if (ceil(sqrt(5 * i * i - 4)) == floor(sqrt(5 * i * i - 4)) ||
        ceil(sqrt(5 * i * i + 4)) == floor(sqrt(5 * i * i + 4))) {
      h += 'O';
    } else {
      h += 'o';
    }
  }
  cout << h << endl;
  return 0;
}
