#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  bool mark[2000];
  int a = 1, b = 1, c = 2;
  mark[1] = true;
  while (c < 1005) {
    mark[c] = true;
    int t = c;
    c = c + b;
    a = b;
    b = t;
  }
  char arr[n];
  for (int i = 0; i < n; i++) {
    if (mark[i + 1]) {
      cout << "O";
    } else {
      cout << "o";
    }
  }
}
