#include <bits/stdc++.h>
using namespace std;
int main() {
  int md[5000], f[1000];
  for (int i = 1; i < 5000; i++) {
    md[i] = 0;
  }
  md[1] = 1;
  f[1] = 1;
  f[2] = 1;
  int j = 3;
  for (int j = 3;; j++) {
    f[j] = f[j - 1] + f[j - 2];
    if (f[j] > 1000) {
      break;
    }
    md[f[j]] = 1;
  }
  int n;
  cin >> n;
  for (int i = 1; i <= n; i++) {
    if (md[i] == 1) {
      cout << 'O';
    } else {
      cout << 'o';
    }
  }
  cout << endl;
  return 0;
}
