#include <bits/stdc++.h>
using namespace std;
int main() {
  set<int> s;
  s.insert(1);
  int a = 1, b = 1, f = 1;
  while (a <= 1000) {
    f = a + b;
    b = a;
    a = f;
    s.insert(a);
  }
  int n;
  cin >> n;
  string s1;
  for (int i = 1; i <= n; i++) {
    if (s.find(i) == s.end()) {
      s1 += 'o';
    } else {
      s1 += 'O';
    }
  }
  cout << s1;
  return 0;
}
