#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int a = 0, b = 1;
  vector<int> v;
  v.push_back(a);
  v.push_back(b);
  int c = a + b;
  while (c <= 1000) {
    v.push_back(c);
    a = b;
    b = c;
    c = a + b;
  }
  for (int i = 1; i <= n; i++) {
    int f = 0;
    for (int j = 0; j < v.size(); j++) {
      if (i == v[j]) {
        cout << "O";
        f = 1;
        break;
      }
    }
    if (f == 0) cout << "o";
  }
  return 0;
}
