#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;
  int a[100] = {0};
  a[1] = 1;
  a[2] = 1;
  int m = 2;
  while (a[m] <= 1000) {
    m++;
    a[m] = a[m - 1] + a[m - 2];
  }
  string second;
  for (int i = 1; i <= n; i++) {
    second = second + 'o';
  }
  int i = 0;
  while (n) {
    n--;
    second[a[i]] = 'O';
  }
  for (int i = 1; i <= n; i++) {
    cout << second;
  }
  return 0;
}
