#include <bits/stdc++.h>
using namespace std;
int main() {
  long long x;
  cin >> x;
  int a[] = {1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987};
  for (int i = 1; i <= x; i++) {
    bool y = false;
    for (int j = 1; j <= 15; j++) {
      if (i == a[j]) y = true;
    }
    if (y == false)
      cout << "o";
    else
      cout << "O";
  }
  return 0;
}
