#include <bits/stdc++.h>
using namespace std;
int fib(int n) {
  if (n <= 1) return n;
  return fib(n - 1) + fib(n - 2);
}
int gcd(int x, int y) {
  if (y == 0)
    return x;
  else
    return gcd(y, x % y);
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  int n, i, j;
  cin >> n;
  string s = "";
  for (i = 0; i < n; i++) {
    int p = 0;
    for (j = 1; j < 17; j++) {
      if (fib(j) == (i + 1)) {
        s += 'O';
        p = 1;
        break;
      }
    }
    if (p == 0) s += 'o';
  }
  cout << s;
}
