#include <bits/stdc++.h>
using namespace std;
int main() {
  long n;
  scanf("%lld", &n);
  long a = 3;
  long b = 5;
  string s = "OOOo";
  long i = 5;
  while (i <= 1010) {
    if (i == b) {
      s += "O";
      long c = a;
      a = b;
      b = c + b;
    } else {
      s += "o";
    }
    i++;
  }
  cout << s.substr(0, n);
  return 0;
}
