#include <bits/stdc++.h>
const long long MOD = 1000000007;
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  long long n;
  cin >> n;
  long long f = 1, s = 1, t = 2;
  map<long long, long long> m;
  m[1] = 1;
  m[2] = 1;
  for (long long i = 3; i <= n; ++i) {
    m[t] = 1;
    t = f + s;
    f = s;
    s = t;
  }
  for (long long i = 1; i <= n; ++i) {
    if (m[i]) {
      cout << 'O';
    } else
      cout << 'o';
  }
  return 0;
}
