#include <bits/stdc++.h>
using namespace std;
int main() {
  int a[10000];
  a[0] = 1;
  a[1] = 1;
  for (int i = 2; i < 1000; i++) a[i] = a[i - 1] + a[i - 2];
  int n;
  cin >> n;
  char *s = new char[n + 1];
  for (int i = 1; i <= n; i++) {
    for (int k = 0; k < 1000; k++) {
      if (i == a[k]) {
        s[i - 1] = 'O';
        break;
      } else
        s[i - 1] = 'o';
    }
  }
  for (int i = 0; i < n; i++) cout << s[i];
  return 0;
}
