#include <bits/stdc++.h>
using namespace std;
void maloosh_lazma() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
}
int main() {
  maloosh_lazma();
  int n;
  cin >> n;
  int x[] = {1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987};
  int f = 0;
  for (int i = 1; i <= n; i++) {
    f = 0;
    for (int j = 0; j < 16; j++) {
      if (x[j] == i) {
        cout << 'O';
        f = 1;
        break;
      }
    }
    if (f == 0) cout << 'o';
  }
  return 0;
}
