#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  long long a = 0, b = 1, c = 0, fib = 0;
  bool v[1010];
  memset(v, false, sizeof(bool) * 1010);
  for (int i = 0; i < 17; ++i) {
    fib = a;
    c = a + b;
    a = b;
    b = c;
    v[fib] = true;
  }
  cin >> n;
  for (int i = 1; i <= n; ++i) {
    if (!v[i])
      cout << 'o';
    else
      cout << 'O';
  }
  cout << endl;
  return 0;
}
