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