#include <bits/stdc++.h>
using namespace std;
const int N = 1e5 + 1;
const int M = 1e9 + 7;
const double eps = 1e-6;
int n;
int f[1001];
int v[5001];
int main() {
  ios::sync_with_stdio(0), cin.tie(0), cout.tie(0);
  f[1] = 1;
  f[2] = 1;
  f[3] = 2;
  f[4] = 3;
  set<int> s;
  s.insert(1);
  s.insert(2);
  s.insert(3);
  v[1] = v[2] = v[3] = 1;
  for (int i = 5; i < 18; i++) {
    f[i] = f[i - 1] + f[i - 2];
    v[f[i]] = 1;
  }
  cin >> n;
  for (int i = (1); i <= (n); i++)
    if (v[i])
      putchar('O');
    else
      putchar('o');
  cout << endl;
}
