#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  int n1 = 1, n2 = 1;
  cin >> n;
  for (int i = 1; i <= n; i++) {
    if (i == 1) {
      cout << "O";
      continue;
    }
    if (i == (n1 + n2)) {
      cout << "O";
      n1 = n2;
      n2 = i;
    } else
      cout << 'o';
  }
  return 0;
}
