#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(NULL);
  int a;
  scanf("%d", &a);
  bitset<1001> fibo;
  fibo[0] = fibo[1] = fibo[2] = 1;
  int j = 1;
  int i = 2;
  while (i + j <= a) {
    int temp = i;
    i = i + j;
    j = temp;
    fibo[i] = 1;
  }
  for (int i = 1; i <= a; i++) {
    if (fibo[i])
      cout << "O";
    else
      cout << "o";
  }
  cout << endl;
}
