#include <bits/stdc++.h>
using namespace std;
__attribute__((constructor)) void initial() {
  cin.tie(0);
  ios::sync_with_stdio(false);
}
long long fib[1001];
signed main() {
  long long n;
  cin >> n;
  fib[0] = 1, fib[1] = 1;
  for (long long i = (2); i < (1000); i++) {
    fib[i] = fib[i - 1] + fib[i - 2];
  }
  long long fi = 1;
  for (long long i = (1); i < (n + 1); i++) {
    if (i == fib[fi]) {
      cout << 'O';
      fi++;
    } else
      cout << 'o';
  }
  cout << endl;
}
