#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n, s = 1, s1 = 1, temp, i;
  scanf("%lld", &n);
  if (n == 1) {
    cout << "O";
  }
  if (n == 2) {
    cout << "OO";
  }
  if (n > 2) {
    for (i = 1; i <= n; i++) {
      if (i == s) {
        cout << "O";
        temp = s;
        s = s + s1;
        s1 = temp;
      } else {
        cout << "o";
      }
    }
  }
}
