#include <bits/stdc++.h>
using namespace std;
int32_t main() {
  long long n;
  cin >> n;
  cout << "O"
       << "O";
  long long sum = 0;
  long long s1 = 1;
  long long s2 = 1;
  long long a[n];
  for (long long i = 3; i <= n; i++) {
    sum = s1 + s2;
    a[i] = sum;
    s2 = s1;
    s1 = sum;
  }
  for (long long i = 3; i <= n; i++) {
    long long flag = 0;
    for (long long j = 3; j <= n; j++) {
      if (a[j] == i) {
        cout << "O";
        flag = 1;
      }
    }
    if (flag == 0) cout << "o";
  }
  return 0;
}
