#include <bits/stdc++.h>
using namespace std;
bool debug = true;
string s;
int main(int argc, char* argv[]) {
  int n;
  cin >> n;
  for (int i = 0; i < n; i++) {
    s += 'o';
  }
  s[0] = 'O';
  int a = 1, b = 1, c = 0;
  while (c <= n) {
    c = a + b;
    if (c > n) break;
    a = b;
    b = c;
    s[c - 1] = 'O';
  }
  cout << s;
  return 0;
}
