#include <bits/stdc++.h>
using namespace std;
int main() {
  int a[10000] = {}, s[1005], i, n;
  s[1] = 1;
  s[2] = 1;
  for (i = 3; s[i - 1] < 1001; i++) {
    s[i] = s[i - 1] + s[i - 2];
    a[s[i]]++;
  }
  cin >> n;
  a[0] = 1;
  for (i = 1; i <= n; i++) {
    if (a[i] == 1)
      cout << "O";
    else
      cout << "o";
  }
  return 0;
}
