#include <bits/stdc++.h>
using namespace std;
int dp[1000000];
int main() {
  int n;
  cin >> n;
  int f[100000];
  f[1] = 1;
  f[2] = 1;
  dp[1] = 1;
  for (int i = 3; true; i++) {
    f[i] = f[i - 1] + f[i - 2];
    dp[f[i]] = 1;
    if (f[i] >= n) break;
  }
  string str;
  for (int i = 1; i <= n; i++) {
    if (dp[i])
      str.push_back('O');
    else
      str.push_back('o');
  }
  cout << str << "\n";
  return 0;
}
