#include <bits/stdc++.h>
using namespace std;
void fast() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
}
int main() {
  long long a;
  cin >> a;
  int fib[1001];
  fib[1] = 1;
  fib[2] = 1;
  for (int i = 3; i <= a; i++) {
    fib[i] = fib[i - 1] + fib[i - 2];
  }
  for (int i = 1; i <= a; i++) {
    bool f = false;
    for (int j = 1; j <= a; j++) {
      if (fib[j] == i) {
        f = true;
        cout << "O";
        break;
      }
    }
    if (!f) {
      cout << "o";
    }
  }
}
