#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, max = 2, min = 1;
  cin >> n;
  if (n == 1) {
    cout << "O";
    return 0;
  } else if (n == 2) {
    cout << "OO";
    return 0;
  } else
    cout << "OO";
  for (int i = 3; i <= n; i++) {
    if (i == max + min) {
      min = max;
      max = i;
      cout << "O";
    } else
      cout << "o";
  }
  return 0;
}
