#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, i, a, b, c, z[1111] = {0};
  cin >> n;
  a = 1;
  b = 1;
  z[1] = 1;
  while (a + b <= n) {
    z[a + b] = 1;
    c = a;
    a = a + b;
    b = c;
  }
  for (i = 1; i <= n; i++) {
    if (z[i] == 1)
      cout << 'O';
    else
      cout << 'o';
  }
  return 0;
}
