#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, f1 = 1, f2 = 1, f3 = 0;
  cin >> n;
  for (int i = 1; i <= n; i++) {
    if (i == 1)
      cout << 'O';
    else if (i == f3)
      cout << 'O';
    else
      cout << 'o';
    while (f3 <= i) {
      f3 = f1 + f2;
      f1 = f2;
      f2 = f3;
    }
  }
}
