#include <bits/stdc++.h>
using namespace std;
void A7med_S3d() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
}
int big(int a, int b) {
  if (a >= b)
    return a;
  else
    return b;
}
bool isprime(int n) {
  if (n == 1) return false;
  for (int i = 2; i < n; i++)
    if (n % i == 0) return false;
  return true;
}
long long nWOZ(long long n) {
  long long sum = 0, c = 1;
  while (n) {
    if (n % 10 != 0) {
      sum += (n % 10) * c;
      c *= 10;
    }
    n /= 10;
  }
  return sum;
}
int main() {
  A7med_S3d();
  int n, arr[1000];
  cin >> n;
  arr[0] = 1, arr[1] = 1;
  for (int i = 2; i < n; i++) arr[i] = arr[i - 1] + arr[i - 2];
  for (int i = 1; i <= n; i++) {
    bool ok = false;
    for (int j = 0; j <= i; j++)
      if (arr[j] == i) {
        ok = true;
        break;
      }
    if (ok == true)
      cout << "O";
    else
      cout << "o";
  }
  cout << endl;
  return 0;
}
