#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  int n, temp = 1, piv = 1;
  cin >> n;
  map<int, int> m;
  for (int i = 0; piv <= 1000; i++) {
    m[piv]++;
    piv = piv + temp;
    temp = piv - temp;
  }
  for (int i = 1; i <= n; i++) {
    if (m[i] == 1)
      cout << 'O';
    else
      cout << 'o';
  }
  cout << "\n";
}
