#include <bits/stdc++.h>
using namespace std;
set<long long> fib;
void precomp(int n) {
  fib.insert(1);
  long long a = 1, b = 1;
  for (int i = 3; i <= n; ++i) {
    long long c = a + b;
    a = b;
    b = c;
    fib.insert(c);
  }
}
int main() {
  ios_base::sync_with_stdio(false);
  int n;
  cin >> n;
  precomp(n + 1);
  for (int i = 1; i <= n; ++i) {
    char ch = 'o';
    if (fib.count(i)) ch = 'O';
    cout << ch;
  }
  cout << '\n';
}
