#include <bits/stdc++.h>
using namespace std;
char s[1009];
int main() {
  int n, a(1), b(2);
  cin >> n;
  for (int i = 0; i < n; ++i) {
    if (i != a - 1)
      s[i] = 'o';
    else
      b += a, a = b - a, s[i] = 'O';
  }
  cout << s;
  return 0;
}
