#include <bits/stdc++.h>
using namespace std;
int n;
bool mk[1010];
int main() {
  cin >> n;
  int i, j;
  int x = 0, y = 1, z = 1;
  while (z <= n) {
    mk[z] = 1;
    z = x + y;
    x = y;
    y = z;
  }
  for (i = 1; i <= n; i++)
    if (mk[i])
      cout << 'O';
    else
      cout << 'o';
  return 0;
}
