#include <bits/stdc++.h>
using namespace std;
map<long long, long long> mp;
char h;
long long int a, b, a1, b1, c, n, m, x, cnt;
string s, o, name = "shohrukh";
vector<int> v, v1;
vector<string> ve;
pair<int, int> p;
set<int> second;
int main() {
  cin >> n;
  if (n == 1) {
    cout << "O";
    return 0;
  }
  if (n == 2) {
    cout << "Oo";
    return 0;
  }
  int x = 1, y = 1;
  for (int i = 0; i < n; i++) {
    v.push_back(y);
    x = x + y;
    y = x - y;
  }
  m = 1;
  for (int i = 1; i <= n; i++) {
    if (i == v[m])
      cout << "O", m++;
    else
      cout << "o";
  }
}
