#include <bits/stdc++.h>
using namespace std;
#pragma comment(linker, "/STACK:667177216")
const long long mod = 1000000007;
string s = "";
int D[1005];
int n;
int rec(int n) {
  if (n <= 1) {
    return 1;
  }
  if (D[n] != -1) {
    return D[n];
  }
  D[n] = rec(n - 1) + rec(n - 2);
  return D[n];
}
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  int n;
  cin >> n;
  memset(D, -1, sizeof(D));
  D[0] = 1;
  D[1] = 1;
  for (int i = 0; i < n; i++) {
    s += "o";
  }
  rec(40);
  for (int i = 0; i < n; i++) {
    if (D[i] <= n) s[D[i] - 1] = 'O';
  }
  for (int i = 0; i < n; i++) {
    cout << s[i];
  }
  return 0;
}
