
import java.util.Scanner;


public class Main {
    static StringBuffer stringBuffer = new StringBuffer();

    static Integer[] arrayList = new Integer[1000];


    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        boolean add = false;
        int n = in.nextInt();
        arrayList[0] = 1;
        arrayList[1] = 1;
        arrayList[2] = 2;
        arrayList[3] = 3;
        arrayList[4] = 5;
        arrayList[5] = 8;
        arrayList[6] = 13;
        arrayList[7] = 21;
        arrayList[8] = 34;
        arrayList[9] = 89;
        arrayList[10] = 144;
        arrayList[11] = 233;
        arrayList[12] = 377;
        arrayList[13] = 610;
        arrayList[14] = 987;
        for (int i = 1; i < n+1; i++) {
            for (int j = 0; j < 15; j++) {
                if (i == arrayList[j]) {
                    stringBuffer.append("O");
                    add = true;
                    break;
                }
            }
            if (!add) {
                stringBuffer.append("o");
            }else{
                add=false;
            }
        }
        System.out.println(stringBuffer);

    }

}

