#include <bits/stdc++.h>
using namespace std;
map<int, int> fib;
int a[1001];
int n, i, k;
string s;
int main() {
  scanf("%d", &n);
  a[1] = a[2] = 1;
  fib[1] = fib[2] = 1;
  (I, N1, N2) for (I = N1; I <= N2; I++)(i, 3, n) {
    a[i] = a[i - 1] + a[i - 2];
    fib[a[i]] = 1;
  }
  (I, N1, N2) for (I = N1; I <= N2; I++)(i, 1, n) {
    if (fib[i])
      s += 'O';
    else
      s += 'o';
  }
  cout << s;
}
