#include <bits/stdc++.h>
using namespace std;
const long long N = 1e6;
int n, d[N];
bool t;
string s;
void solve() {
  cin >> n;
  d[0] = 1;
  d[1] = 1;
  for (int i = 2; i <= n; i++) {
    d[i] = d[i - 1] + d[i - 2];
  }
  for (int i = 1; i <= n; i++) {
    for (int j = 1; j <= n; j++) {
      if (d[j] == i) {
        t = true;
        s += 'O';
        break;
      }
    }
    if (t == false) {
      s += 'o';
    } else {
      t = false;
    }
  }
  cout << s;
}
bool mtest;
int main() {
  mtest = false;
  if (mtest == true) {
    int t;
    cin >> t;
    while (t--) {
      solve();
    }
  } else {
    solve();
  }
}
