#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  int n;
  cin >> n;
  vector<char> ans(n, 'o');
  int a = 1, b = 1, c;
  ans[a - 1] = 'O';
  for (int i = 0; a <= n; i++) {
    c = a + b;
    a = b;
    b = c;
    ans[a - 1] = 'O';
  }
  for (auto e : ans) {
    cout << e;
  }
  cout << '\n';
}
