#include <bits/stdc++.h>
using namespace std;
const int N = 1005;
long long FIB[N];
int n;
int main() {
  cin >> n;
  char s[1000000];
  FIB[0] = 0;
  FIB[1] = 1;
  FIB[2] = 1;
  for (int i = 0; i < n; ++i) {
    s[i] = 'o';
  }
  s[0] = s[1] = s[2] = 'O';
  for (int i = 3; i < 15; ++i) {
    FIB[i] = FIB[i - 1] + FIB[i - 2];
    s[FIB[i] - 1] = 'O';
  }
  for (int i = 0; i < n; ++i) {
    cout << s[i];
  }
  return 0;
}
