#include <bits/stdc++.h>
using namespace std;
int f[5000];
int arr[10000];
char str[10000];
int main() {
  int n, j = 1, k = 0;
  cin >> n;
  arr[0] = arr[1] = 1;
  for (int i = 2; i < n; i++) {
    arr[i] = arr[i - 1] + arr[i - 2];
  }
  for (int i = 1; i <= n; i++) {
    if (i == arr[j++])
      cout << 'O';
    else {
      cout << 'o';
      j--;
    }
  }
  cout << endl;
  return 0;
}
