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