#include <bits/stdc++.h>
using namespace std;
vector<long long int> v;
bool r(long long int p) {
  for (long long int i = 1; i <= v.size(); i++) {
    if (p == v[i] % 1000000007) {
      return true;
      break;
    }
  }
  return false;
}
void fib(long long int n) {
  long long int a[n + 1];
  a[1] = 1;
  a[2] = 1;
  for (long long int i = 3; i <= n; i++) {
    a[i] = (a[i - 2] % 1000000007 + a[i - 1] % 1000000007) % 1000000007;
  }
  for (long long int i = 1; i <= n; i++) {
    v.push_back(a[i]);
  }
}
int main() {
  long long int t;
  string a;
  cin >> t;
  fib(t);
  for (long long int i = 1; i <= t; i++) {
    if (r(i) == true) {
      a += 'O';
    } else if (r(i) == false) {
      a += 'o';
    }
  }
  cout << a << "\n";
}
