#include <bits/stdc++.h>
using namespace std;
int check(int k, int a[10000], int n) {
  for (int i = 0; i < n; i++) {
    if (k == a[i]) return 1;
  }
  return 0;
}
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  int n, c = 0;
  cin >> n;
  int a[n];
  a[0] = 1;
  a[1] = 1;
  for (int i = 0; i < n; i++) {
    if (i > 1) {
      a[i] = a[i - 1] + a[i - 2];
    }
  }
  for (int i = 1; i <= n; i++) {
    if (check(i, a, n) == 1)
      cout << "O";
    else
      cout << "o";
  }
}
