#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b;
  a = 3;
  b = 5;
  int n;
  cin >> n;
  cout << "OOO";
  int i = 3;
  while (i <= n) {
    for (int j = a + 1; j < b; j++, i++) {
      cout << 'o';
    }
    cout << 'O';
    i++;
    int temp = a + b;
    a = b;
    b = temp;
  }
  return 0;
}
