#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  long long arr[1001], n, i, j;
  cin >> n;
  cout << "OOO";
  arr[2] = 2;
  arr[3] = 3;
  j = 3;
  for (i = 4; i <= n; i++) {
    if ((arr[j] + arr[j - 1]) == i) {
      cout << "O";
      j++;
      arr[j] = (arr[j - 1] + arr[j - 2]);
    } else
      cout << "o";
  }
  return 0;
}
