import java.io.*;
import java.util.*;

public class Main {
    public static int size;

    public static void main(String[] args) throws IOException {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        boolean[] A = new boolean[n + 1];
        int pred = 1;
        int prpred = 1;
        int th = 2;
        A[1] = true;
        for (int i = 1; th <= n; i++) {
            A[th] = true;
            th = prpred + pred;
            int sw = pred;
            pred = th;
            prpred = sw;
        }
        String str = "";
        for (int i = 1; i <= n; i++) {
            if (A[i]) {
                str += "O";
            } else {
                str += "o";
            }
        }
        System.out.println(str);
    }
}

