#include <bits/stdc++.h>
using namespace std;
const int infK = 0x3f3f3f3f;
const long long infLLK = 0x3f3f3f3f3f3f3f3f;
int arr[1001];
void DP_iterative_Fib(int a) {
  arr[1] = 1, arr[2] = 1;
  for (int i = 3;; i++) {
    arr[i] = arr[i - 1] + arr[i - 2];
    if (arr[i] > 1000) break;
  }
}
int main() {
  int i, j, k;
  int num;
  cin >> num;
  DP_iterative_Fib(num);
  j = 2;
  for (i = 1; i <= num; i++) {
    if (i == arr[j]) {
      cout << "O";
      j++;
    } else {
      cout << "o";
    }
  }
  return 0;
}
