#include <bits/stdc++.h>
using namespace std;
int a[40];
int b[5000];
int main() {
  ios::sync_with_stdio(0);
  a[0] = 0;
  a[1] = 1;
  b[0] = 1;
  b[1] = 1;
  for (int i = 2; i < 20; i++) {
    a[i] = a[i - 1] + a[i - 2];
    b[a[i]] = 1;
  }
  int n;
  cin >> n;
  for (int i = 1; i <= n; i++) {
    if (b[i] == 1)
      cout << "O";
    else
      cout << "o";
  }
  return 0;
}
