#include <bits/stdc++.h>
using namespace std;
bool b[1000 + 1];
int main() {
  b[0] = true;
  int x = 0;
  int y = 1;
  while (y <= 1000) {
    b[y] = true;
    y = x + y;
    x = y - x;
  }
  int n;
  cin >> n;
  string s = "";
  for (int i = 1; i <= n; i++)
    if (b[i] == true)
      s += 'O';
    else
      s += 'o';
  cout << s;
}
