import java.util.Scanner;
    public class demo {
    static int [] array;
    static int cursize = 0;
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        int n = input.nextInt();
        array = new int[n];
        array[0] = 1;
        array[1] = 1;
        for(int i = 1 ; i < n - 1 ; i++){
            array[i+1] = array[i] + array[i-1];
            cursize++;
        }
        System.out.println(demo.string(n));
    }
    
    public static String string(int a){
        char [] chars = new char[a];
        for(int i = 1 ; i < chars.length ; i++){
            chars[i - 1] = 'o';
            for(int j = 0 ; j < cursize ; j++){
                if(i == array[j])
                    chars[i - 1] = 'O';
            }
        }
        return String.valueOf(chars);
    }
}