#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int a = 1;
  int b = 1;
  int f = 1;
  string c = "";
  for (int i = 1; i <= n; i++) {
    if (i == f) {
      c += 'O';
      f = a + b;
      a = b;
      b = f;
    } else
      c += 'o';
  }
  cout << c;
  return 0;
}
