#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  long long int n, first = 1, second = 1, sum = 0, flag = 0;
  cin >> n;
  vector<int> x;
  x.push_back(1);
  x.push_back(1);
  for (int i = 0; i < n - 2; i++) {
    sum = first + second;
    first = second;
    second = sum;
    x.push_back(sum);
  }
  for (int i = 1; i <= n; i++) {
    flag = 0;
    for (int j = 0; j < n; j++) {
      if (i == x[j]) flag = 1;
    }
    if (flag == 1)
      cout << 'O';
    else
      cout << 'o';
  }
  return 0;
}
