#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int arr[] = {1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987};
  for (int i = 1; i <= n; i++) {
    int flag = 0;
    for (int j = 0; j < 15; j++) {
      if (i == arr[j]) {
        flag = 1;
        cout << 'O';
      }
    }
    if (flag == 0) cout << 'o';
  }
  cout << endl;
}
