#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  long long int arr[1000];
  arr[0] = 1;
  arr[1] = 1;
  for (int i = 2; i < 1000; i++) {
    arr[i] = arr[i - 2] + arr[i - 1];
  }
  for (int i = 1; i <= n; i++) {
    bool b = false;
    for (int j = 0; j < 1000; j++) {
      if (arr[j] == i) {
        cout << "O";
        b = true;
        break;
      }
    }
    if (!b) cout << "o";
  }
  cout << endl;
}
