#include <bits/stdc++.h>
using namespace std;
int fib[100005], a[100005];
void setFib() {
  int i;
  fib[1] = 1;
  a[0] = 1;
  a[1] = 1;
  for (i = 2; i < 2000; ++i) {
    a[i] = a[i - 1] + a[i - 2];
    if (a[i] > 1000) break;
    fib[a[i]] = 1;
  }
}
int main() {
  int i, j, k;
  int n;
  setFib();
  cin >> n;
  for (i = 0; i < n; ++i) {
    if (fib[i + 1])
      cout << "O";
    else
      cout << "o";
  }
}
