#include <bits/stdc++.h>
const long long LLINF = (1ll << 63) - 1;
const int INF = (1 << 31) - 1;
const long double PI = 3.14159265358979323846;
const long double EPS = 1e-10;
const int MOD = 1e9 + 7;
const int MOD2 = 23456;
const int ENGLISH_ALPHABET_SIZE = 26;
const int N = 21;
const int M = 1e9 + 10;
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  string name = "";
  int n;
  cin >> n;
  vector<int> fib(1001);
  fib[1] = fib[2] = 1;
  for (int i = 3; i <= 1000; ++i) {
    fib[i] = fib[i - 1] + fib[i - 2];
  }
  for (int i = 1; i <= n; ++i) {
    bool fibs = false;
    for (auto f : fib) {
      if (f == i) {
        fibs = true;
        break;
      }
    }
    if (fibs)
      name += 'O';
    else
      name += 'o';
  }
  cout << name << endl;
  return 0;
}
