#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int n, a[10000] = {0};
  cin >> n;
  a[1] = 1;
  a[2] = 1;
  a[3] = 1;
  long long int x = 3, y = 2;
  while (x < n && y < n) {
    a[x + y] = 1;
    long long int t = x;
    x += y;
    y = t;
  }
  for (long long int i = 1; i <= n; i++) {
    if (a[i] == 0)
      cout << "o";
    else
      cout << "O";
  }
}
