# cook your dish here 

try :
    n= int(input()) 
    next_num = 0 
    first = 2
    second = 3 
    count = 2
    new_name = "OO" 
    if(n == 1):
        new_name = "O"
    elif(n ==2):
        new_name ="OO" 
    else:
        while True :
            next_num = first + second 
            first = second 
            second = next_num
            count += 1 
            new_name = new_name + "O" 
            for each in range (first + 1 , second) : 
                if(count < n):
                    new_name = new_name + "o" 
                    count+=1 
            
            if(count == n):
                break
    print(new_name) 
           
except:
    pass


