#include <bits/stdc++.h>
using namespace std;
int n;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  cin >> n;
  long long a, b;
  a = 1;
  b = 2;
  cout << "O";
  for (long long i = 2; i < n + 1; i++) {
    if (i == b) {
      cout << "O";
      long long c = b;
      b = a + b;
      a = c;
    } else
      cout << "o";
  }
  cout << endl;
  return 0;
}
