#include <bits/stdc++.h>
using namespace std;
int n;
int i = 3, a, b;
int k, l = 1, o[10000], d;
int main() {
  ios_base::sync_with_stdio(0);
  cin >> n;
  a = 1;
  b = 1;
  o[1]++;
  o[2]++;
  while (a + b <= 1000) {
    d = a + b;
    a = b;
    b = d;
    o[d]++;
    i++;
  }
  for (int i = 1; i <= n; i++) {
    if (o[i] > 0)
      cout << 'O';
    else
      cout << 'o';
  }
}
