#include <bits/stdc++.h>
using namespace std;
const long long int mod = 1e9 + 7;
int pre[1000010];
int cnt[1000010];
int main() {
  ios::sync_with_stdio(false);
  ;
  cin.tie(0);
  ;
  int n;
  cin >> n;
  string second;
  second.resize(n);
  for (int i = 0; i < n; i++) {
    second[i] = 'o';
  }
  int a = 1, b = 1;
  int temp;
  while (a < n) {
    second[a - 1] = 'O';
    temp = a + b;
    a = b;
    b = temp;
  }
  cout << second;
  return 0;
}
