#include <bits/stdc++.h>
using namespace std;
int f[1010];
int main() {
  int n;
  cin >> n;
  int a = 1, b = 1, c = 2;
  f[1] = 1;
  for (; c <= n; c = a + b) {
    a = b;
    b = c;
    f[c] = 1;
  }
  for (int i = 1; i <= n; i++) {
    if (f[i])
      cout << "O";
    else
      cout << "o";
  }
}
