#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int a[n + 1];
  bool b[n + 1];
  memset(b, false, sizeof(b));
  a[0] = 0;
  a[1] = 1;
  b[1] = true;
  for (int i = 2; i <= n; i++) {
    a[i] = a[i - 1] + a[i - 2];
    b[a[i]] = true;
    if (a[i] > n) break;
  }
  for (int i = 1; i <= n; i++) {
    if (b[i])
      cout << 'O';
    else
      cout << 'o';
  }
}
