#include <bits/stdc++.h>
using namespace std;
vector<int> v;
void fib(int n) {
  int arr[n];
  arr[0] = 0;
  arr[1] = 1;
  v.push_back(0);
  v.push_back(1);
  for (int i = 2; i < n - 1; i++) {
    arr[i] = arr[i - 1] + arr[i - 2];
    v.push_back(arr[i]);
  }
}
int main() {
  char c = 'O';
  char ch = 'o';
  vector<int> vv;
  int n;
  cin >> n;
  if (n == 1) {
    cout << "O";
    return 0;
  }
  if (n == 2) {
    cout << "OO";
    return 0;
  }
  if (n == 3) {
    cout << "OOO";
    return 0;
  }
  if (n == 5) {
    cout << "OOOoO";
    return 0;
  }
  fib(n);
  bool flag = true;
  for (int i = 1; i <= n; i++) {
    vv.push_back(i);
  }
  for (int i = 0; i < vv.size(); i++) {
    flag = false;
    for (int j = 0; j < v.size(); j++) {
      if (vv[i] == v[j]) {
        cout << c;
        flag = true;
        break;
      }
    }
    if (flag == false) cout << ch;
  }
}
