#include <bits/stdc++.h>
using namespace std;
int a[1000];
bool b[100000];
int main() {
  int n;
  cin >> n;
  a[1] = 1;
  b[1] = 1;
  a[2] = 1;
  b[2] = 1;
  for (int i = 3; i < 25; i++) {
    a[i] = a[i - 1] + a[i - 2];
    b[a[i]] = 1;
  }
  for (int i = 1; i <= n; i++) {
    if (b[i])
      cout << "O";
    else
      cout << "o";
  }
}
