#include <bits/stdc++.h>
using namespace std;
template <typename Container>
void print(const Container& cont) {
  for (auto const& x : cont) {
    std::cout << x << " ";
  }
  std::cout << "\n";
}
int a[1000005];
int main() {
  int n;
  cin >> n;
  int beg = 1, end = 1;
  vector<int> ans(10000);
  ans[beg] = 1;
  for (int i = 1; i <= 1000; i++) {
    int temp = beg + end;
    ans[temp] = 1;
    if (temp > n) break;
    beg = end;
    end = temp;
  }
  for (int i = 1; i <= n; i++) {
    if (ans[i])
      cout << "O";
    else
      cout << "o";
  }
  cout << "\n";
  return 0;
}
