#include <bits/stdc++.h>
using namespace std;
int dp[1010] = {1, 1, 2, 3, 5, 8};
int vis[1010] = {1, 1, 1};
int fun(int x) {
  if (x == 1 || x == 2) return 1;
  if (dp[x] == 0) dp[x] = fun(x - 1) + fun(x - 2);
  vis[dp[x]] = 1;
  return dp[x];
}
int main() {
  int n;
  cin >> n;
  fun(n);
  for (int i = 1; i <= n; i++) {
    if (vis[i] == 1)
      cout << "O";
    else
      cout << "o";
  }
  return 0;
}
