#include <bits/stdc++.h>
using namespace std;
int arr[1000];
void generate(int n) {
  int f1 = 1;
  int f2 = 2;
  arr[1] = 1;
  arr[2] = 1;
  while (f1 + f2 < 1000) {
    arr[f2] = 1;
    int temp = f2;
    f2 += f1;
    f1 = temp;
  }
}
int main() {
  int n;
  cin >> n;
  generate(n);
  for (int i = 1; i <= n; ++i) {
    if (arr[i] == 1)
      cout << "O";
    else
      cout << "o";
  }
  cout << endl;
}
