#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  int n;
  cin >> n;
  string a = "";
  for (int i = 0; i < n; i++) a += 'o';
  int x = 1, y = 1;
  while (y <= n) {
    a[y - 1] = 'O';
    int temp = y;
    y = x + y;
    x = temp;
  }
  cout << a;
}
