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 = 0;
        int howManyNumbers = SCANNER.nextInt();
        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 = 0; i < howManyNumbers; i++){
            if(i == arrayFibonacci[index]){
                System.out.println("O");
                index++;
            }
            else{
                System.out.println("o");
            }
        }

        SCANNER.close();
    }
}

