#include <bits/stdc++.h>
using namespace std;
const int mxn = 1e5 + 10;
int n, m, p, t, ans;
int a[mxn], h[mxn] = {1, 1};
int main() {
  ios_base::sync_with_stdio(false);
  for (int i = 2; i < 1000; i++) {
    h[i] = h[i - 1] + h[i - 2];
    if (h[i] > 1000) break;
    a[h[i]] = 1;
  }
  a[1] = 1;
  cin >> n;
  for (int i = 1; i < n + 1; i++)
    if (a[i])
      cout << "O";
    else
      cout << "o";
  return 0;
}
