#include <bits/stdc++.h>
using namespace std;
int ar[1005];
int main() {
  int maxi = 1003;
  ar[0] = 0;
  ar[1] = 1;
  int n, cnt = 0;
  cin >> n;
  for (int i = 2; i <= n; i++) {
    ar[i] = ar[i - 1] + ar[i - 2];
  }
  for (int i = 1; i <= n; i++) {
    cnt = 0;
    for (int j = 0; j <= n; j++) {
      if (i == ar[j]) {
        cnt++;
        break;
      }
    }
    if (cnt == 1)
      cout << "O";
    else
      cout << "o";
  }
  return 0;
}
