#include <bits/stdc++.h>
using namespace std;
const double PI = 3.141592654;
void fast() {
  ios_base::sync_with_stdio(0);
  cin.tie(NULL), cout.tie(NULL);
}
bool iSpalindrome(string d) {
  string test = d;
  reverse((test).begin(), (test).end());
  if (d == test)
    return 1;
  else
    return 0;
}
int main() {
  fast();
  vector<long long> v;
  long long a = 0, b = 1, c = a + b;
  v.push_back(c);
  while (c <= 1000) {
    a = b, b = c, c = a + b;
    v.push_back(c);
  }
  int x;
  cin >> x;
  for (int i = 1; i <= x; i++) {
    if (binary_search((v).begin(), (v).end(), i))
      cout << "O";
    else
      cout << "o";
  }
  cout << endl;
  return 0;
}
