#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  long long test, i, j, xy, flag = 0, n, u, count, d, o1 = 0, o2 = 0, s, e, l,
                            r, x, y, m, z, max1, x1, y1, k, x2, y2, z1, sum, f,
                            min1;
  map<long long, long long> mk;
  mk[1] = 1;
  mk[2] = 1;
  x = y = 1;
  while (x <= 1000) {
    x1 = x;
    x = x + y;
    y = x1;
    mk[x]++;
  }
  cin >> n;
  string a = string(n, 'o');
  for (i = 0; i < n; i++) {
    if (mk[i + 1]) {
      a[i] = 'O';
    }
  }
  cout << a << "\n";
  return 0;
}
