#include <bits/stdc++.h>
using namespace std;
const int maxn = 1e6 + 2;
vector<int> graph[200009];
bool found[200009];
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  char str[100000];
  int k = 1, i, j, n, arr[10000], fib[10000];
  cin >> n;
  fib[0] = 0;
  fib[1] = 1;
  str[1] = 'O';
  for (i = 2; i <= 20; ++i) {
    fib[i] = fib[i - 1] + fib[i - 2];
    str[fib[i]] = 'O';
  }
  for (i = 1; i <= n; ++i) {
    if (str[i] != 'O') str[i] = 'o';
  }
  for (i = 1; i <= n; ++i) cout << str[i];
}
