#include <bits/stdc++.h>
using namespace std;
int n, f[3000] = {0};
bool s[1000000] = {0};
int main() {
  cin >> n;
  f[1] = 1;
  f[2] = 1;
  s[1] = 1;
  for (int i = 3; i <= 30; i++) {
    f[i] = f[i - 1] + f[i - 2];
    s[f[i]] = 1;
  }
  for (int i = 1; i <= n; i++) {
    if (s[i]) {
      cout << "O";
    } else
      cout << "o";
  }
  return 0;
}
