#include <bits/stdc++.h>
using namespace std;
int fib[1000];
bool big[1005];
int main() {
  memset(fib, 0, sizeof(fib));
  memset(big, false, sizeof(big));
  fib[1] = 1;
  fib[2] = 1;
  int n;
  cin >> n;
  for (int i = 3; fib[i - 1] <= n; i++) {
    fib[i] = fib[i - 1] + fib[i - 2];
    big[fib[i]] = true;
  }
  big[1] = true;
  for (int i = 1; i <= n; i++)
    if (big[i])
      cout << "O";
    else
      cout << "o";
  return 0;
}
