#include <bits/stdc++.h>
using namespace std;
int fib(int k) {
  if (k == 0)
    return (0);
  else if (k == 1)
    return (1);
  else if (k == 2)
    return (1);
  else
    return (fib(k - 1) + fib(k - 2));
}
int main() {
  int n, i, a[100], j = 0, c;
  cin >> n;
  for (i = 0; i < n; i++) {
    if (fib(i) <= 1000) {
      a[j] = fib(i);
      j++;
    } else
      break;
  }
  if (n == 1)
    cout << "O";
  else if (n == 2)
    cout << "OO";
  else if (n == 3)
    cout << "OOO";
  else if (n == 4)
    cout << "OOOo";
  else if (n == 5)
    cout << "OOOoO";
  else {
    for (i = 0; i < n; i++) {
      c = 0;
      for (j = 0; j < n + 5; j++) {
        if (i + 1 == a[j]) {
          cout << "O";
          c = 1;
          break;
        }
      }
      if (c == 0) cout << "o";
    }
  }
  return 0;
}
