#include <bits/stdc++.h>
using namespace std;
long long lcm(long long a, long long b) {
  long long m;
  m = a > b ? a : b;
  do {
    if (m % a == 0 && m % b == 0) {
      return m;
      break;
    } else
      m++;
  } while (1);
}
void getit() {
  long long i = 0, a, b, c, n, fib[1000000] = {0};
  cin >> n;
  a = 0;
  b = 1;
  while (a + b <= n) {
    fib[a + b] = 1;
    c = a + b;
    a = b;
    b = c;
  }
  for (long long i = 1; i < n; i++) {
    if (fib[i] != 0)
      cout << "O";
    else
      cout << "o";
  }
}
int main() {
  long long t = 1;
  while (t--) {
    getit();
    cout << endl;
  }
}
