import java.util.Scanner;

public class Codeforce_A_Eleven {
    private static final Scanner SCANNER = new Scanner(System.in);

    public static void main(String[] args) {
        int index = 1;
        int howManyNumbers = SCANNER.nextInt();

        if (howManyNumbers > 5) {
            int[] arrayFibonacci = new int[howManyNumbers];

            arrayFibonacci[0] = 0;
            arrayFibonacci[1] = 1;

            for (int i = 2; i < howManyNumbers; i++) {
                arrayFibonacci[i] = arrayFibonacci[i - 1] + arrayFibonacci[i - 2];
            }

            for (int i = 1; i <= howManyNumbers; i++) {
                if (arrayFibonacci[index] == i) {
                    System.out.print("O");

                    if (index < howManyNumbers - 1) {
                        index++;
                    }
                } else {
                    System.out.print("o");
                }
            }
        } else {
            for (int i = 1; i <= howManyNumbers; i++) {
                if (i == 4) {
                    System.out.print("o");
                } else {
                    System.out.print("O");
                }
            }
        }
        SCANNER.close();
    }
}


