#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  char a[1010];
  a[1] = 'O';
  a[2] = 'O';
  int a1 = 1, b = 1;
  while (b <= 1000) {
    int c = (a1 + b);
    if (c > 1000) break;
    a1 = b;
    b = c;
    a[c] = 'O';
  }
  for (int i = 1; i <= 1000; i++) {
    if (a[i] != 'O') a[i] = 'o';
  }
  int n;
  cin >> n;
  for (int i = 1; i <= n; i++) cout << a[i];
}
