#include <bits/stdc++.h>
using namespace std;
const int MXN = 2e6 + 30;
int n;
int f[MXN];
char a[MXN];
int main() {
  cin >> n;
  f[0] = 0;
  f[1] = 1;
  for (int i = 2; i <= 20; i++) {
    f[i] = f[i - 1] + f[i - 2];
    a[f[i]] = 'O';
  }
  for (int i = 1; i <= n; i++) {
    if (a[i] != 'O') a[i] = 'o';
    cout << a[i];
  }
  return 0;
}
