#include <bits/stdc++.h>
using namespace std;
int fibo(char* arr, int n) {
  if (n == 0) {
    return 0;
  } else if (n == 1) {
    return 1;
  } else {
    return fibo(arr, n - 1) + fibo(arr, n - 2);
  }
}
int main() {
  int n;
  cin >> n;
  char arr[n];
  for (int i = 0; i < n; ++i) {
    arr[i] = 'o';
  }
  int res = fibo(arr, n);
  for (int i = 0; i < n; ++i) {
    int res = fibo(arr, i);
    if (res < n) {
      arr[res] = 'O';
    }
  }
  for (int i = 0; i < n; ++i) {
    cout << arr[i];
  }
  cout << endl;
}
