#include <bits/stdc++.h>
using namespace std;
const double PI = acos(-1);
const double eps = 1e-9;
const int inf = 2000000000;
const long long infLL = 9000000000000000000;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  ;
  vector<int> v;
  int n = 1, m = 1;
  v.push_back(m);
  for (int i = 0; i <= 15; i++) {
    int x = n + m;
    v.push_back(x);
    n = m;
    m = x;
  }
  int c;
  cin >> c;
  int j = 0;
  for (int i = 1; i <= c; i++) {
    if (v[j] == i) {
      cout << 'O';
      j++;
    } else
      cout << 'o';
  }
  cout << '\n';
  return 0;
}
