#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  ;
  int n, s[1001], a[1001];
  cin >> n;
  s[1] = 1;
  a[1] = 1;
  s[2] = 1;
  for (int i = 3; i <= 1000; i++) {
    s[i] = s[i - 2] + s[i - 1];
    if (s[i] > 1000) break;
    a[s[i]] = 1;
  }
  for (int i = 1; i <= n; i++) {
    if (a[i])
      cout << "O";
    else
      cout << "o";
  }
  cout << endl;
  return 0;
}
