#include <bits/stdc++.h>
using namespace std;
int main() {
  map<long long int, bool> flag;
  int data1 = 1;
  int data2 = 2;
  flag[1] = true;
  flag[2] = true;
  for (int i = 0; i < 1005; i++) {
    flag[data1 + data2] = true;
    int bantu = data2;
    data2 = data1 + data2;
    data1 = bantu;
  }
  int n;
  cin >> n;
  for (int i = 1; i <= n; i++) {
    if (flag[i])
      cout << 'O';
    else
      cout << 'o';
  }
}
