#include <bits/stdc++.h>
using namespace std;
bool isPerfectSquare(int);
bool isFibonacci(int);
bool isFibonacci(int n) {
  return isPerfectSquare(5 * n * n + 4) || isPerfectSquare(5 * n * n - 4);
}
bool isPerfectSquare(int x) {
  int s = sqrt(x);
  return (s * s == x);
}
int main() {
  int n;
  char s1[1000];
  string s2 = "";
  cin >> n;
  for (int i = 1; i <= n; i++) {
    s1[i - 1] = 'o';
    if (isFibonacci(i)) {
      s1[i - 1] = 'O';
    }
    s2 += s1[i - 1];
  }
  cout << s2;
  return 0;
}
