#include <bits/stdc++.h>
using namespace std;
int check(int k, int a[10000], int n) {
  for (int i = 1; i <= n + 1; 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 + 1];
  a[1] = 1;
  a[2] = 1;
  for (int i = 3; i <= n + 1; i++) {
    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";
  }
}
