#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(nullptr);
  cout.tie(nullptr);
  int n;
  cin >> n;
  int a = 1;
  int b = 1;
  string name = "";
  for (int i = 1; i <= n; i++) {
    while (i <= n && i < a) {
      name += 'o';
      i++;
    }
    if (i <= n) {
      name += 'O';
    }
    int buf = a;
    a = a + b;
    b = buf;
  }
  cout << name;
  return 0;
}
