import java.util.Scanner;

public class fibonacci {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		int i,n1=2,n2=1;
		String ch="OO";
        Scanner sc = new Scanner(System.in);
        int n =  sc.nextInt();
        
        /* test sur les entier*/
        
        for(i=3;i<=n;i++)
        {	
          
        	if (i==n1+n2)
        	   {
        	   /*Fibonacci*/
        	   ch=ch+"O";
                n2=n1;   
                n1=i;
        	    }
        	else 
        	   {
        		 ch=ch+"o"; 
        	    }     
           }
        System.out.println(ch);
            
	       }

}
