#include <bits/stdc++.h>
using namespace std;
string to_str(long long Number) {
  stringstream ss;
  ss << Number;
  return ss.str();
}
long long to_int(string str) {
  long long val;
  stringstream stream;
  stream << str;
  stream >> val;
  return val;
}
int gcd(int a, int b) { return b == 0 ? a : gcd(b, a % b); }
string binary(long long n) {
  string result;
  do result.push_back('0' + (n & 1));
  while (n >>= 1);
  reverse(result.begin(), result.end());
  return result;
}
long long n, x, y, z, c, c1, c2, c3, k, k1, k2, t;
int main() {
  ios_base::sync_with_stdio(0), cin.tie(0), cout.tie(0);
  int arr[15] = {1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987};
  cin >> n;
  for (int i = 1; i <= n; i++) {
    c = 0;
    for (int j = 0; j < 15; j++) {
      if (arr[j] == i) {
        cout << 'O';
        c = 1;
        break;
      }
    }
    if (c == 0) cout << 'o';
  }
  return 0;
}
