#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int a = 0;
  int b = 1;
  int c = 2;
  while (a < n) {
    a++;
    if (a == b) {
      printf("O");
      b = c + b;
    } else if (a == c) {
      printf("O");
      c = c + b;
    } else {
      printf("o");
    }
  }
  return 0;
}
