#include <bits/stdc++.h>
using namespace std;
int a[1000];
int main() {
  int b, c, d, i, j;
  int fibo[17] = {0,  1,  1,  2,   3,   5,   8,   13, 21,
                  34, 55, 89, 144, 233, 377, 610, 987};
  for (i = 0; i < 17; i++) {
    j = fibo[i];
    a[fibo[i]] = 1;
  }
  int T;
  cin >> T;
  for (i = 1; i <= T; i++) {
    if (a[i] == 0) cout << "o";
    if (a[i] == 1) cout << "O";
  }
  cout << endl;
  return 0;
}
