#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int x = 1;
  map<int, int> m;
  int y = 1;
  m[x] = 1;
  while (y < 1001) {
    m[y] = 1;
    int temp = y + x;
    x = y;
    y = temp;
  }
  m[y] = 1;
  for (int i = 1; i <= n; i++) {
    if (m[i] == 1) {
      cout << 'O';
    } else
      cout << 'o';
  }
  cout << endl;
  return 0;
}
