n = int(input())

temp = 1
b = 1
hold = 0
ans = ["o"]*n

while temp <= n:
    ans[temp-1] = "O"
    hold = temp
    temp += b
    b = hold

print ("".join(ans))
    


                
        

    
 





        




    




    

    
    

        
        
        
    
    

    
        



        
        
        
           
        
        
    
    




    
            
        





            
        
            

        
            



        
        
    
        



            


    
    







    



        
        
        
        


            



        
            

    


    

    



        


        



    
        
        

    







    
    
 

    

        
    
            
    




    


        



    





        
            
        
    
