#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int i = 1, j = 1, temp;
  for (int k = 1; k <= n; k++) {
    if (k == j) {
      cout << "O";
      temp = i + j;
      i = j;
      j = temp;
    } else {
      cout << "o";
    }
  }
}
