#include <bits/stdc++.h>
using namespace std;
void read(int arr[], int n) {
  for (int i = 0; i < n; i++) cin >> arr[i];
}
void print(int arr[], int n) {
  for (int i = 0; i < n; i++) cout << arr[i] << " ";
}
const long double PI = 3.141;
int main() {
  int n, f[200], x = 3;
  f[0] = f[1] = 1;
  char str[10000];
  for (int i = 2; i <= 50; i++) {
    f[i] = f[i - 2] + f[i - 1];
  }
  cin >> n;
  cout << "OO";
  for (int i = 3; i <= n; i++) {
    if (i == f[x]) {
      x++;
      cout << "O";
    } else
      cout << "o";
  }
}
