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