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