import java.util.Scanner;

public class Eleven {

    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        
        int n = input.nextInt();
        int[] fib = new int[10000];
        
        fib[0] = 1;
        fib[1] = 1;
        for(int i=2 ; i<10000 ;i++)
            fib[i] = fib[i-1] + fib[i-2];
        
        for(int i=0 ; i<n ; i++){
            for(int j=0 ; j<n ; j++){
                if(i+1 == fib[j+1]){
                    System.out.print("O");
                    break;
                }
                else if(j+1 == n && i+1 != fib[n]){
                    System.out.print("o");
                    break;
                }
            }   
        }    
    }  
}