#include <bits/stdc++.h>
using namespace std;
const int inf = 1e9;
const int N = 1001;
const int mod = 1743;
const int MAX = 2500;
const int shift = 4;
int n;
vector<int> dict(N, 0);
void input() { cin >> n; }
void solve() {
  int f = 1, s = 1;
  dict[f] = 1;
  while (f + s <= 1000) {
    int temp = f + s;
    f = s;
    s = temp;
    dict[temp] = 1;
  }
}
void output() {
  for (int i = 1; i <= n; i++) cout << (dict[i] ? 'O' : 'o');
}
int main() {
  input();
  solve();
  output();
  return 0;
}
