#include <bits/stdc++.h>
using namespace std;
using ll = long long;
const double pi = 3.1415926535897;
void SuperFast() {
  ios_base::sync_with_stdio(false);
  cout.tie(NULL);
  cin.tie(NULL);
}
void INOUT() {}
void AcCePtEd() {
  int n;
  cin >> n;
  string s;
  vector<int> v;
  int i = 1, j = 1, k = 1;
  v.push_back(1);
  ;
  int x = 0;
  while (x <= n) {
    x = j + k;
    swap(j, k);
    k = x;
    v.push_back(x);
    ;
  }
  k = 0;
  while (i <= n) {
    if (i == v[k]) {
      cout << "O";
      k++;
    } else
      cout << "o";
    i++;
  }
}
int main() {
  SuperFast();
  INOUT();
  int TeStCaSeS = 1;
  while (TeStCaSeS--) {
    AcCePtEd();
  }
  return 0;
}
