febo=[0]*1010
def ini():
    global febo
    a,b=1,1
    febo[1]=1
    while b<=1000:
        febo[b]=1
        a,b=b,a+b
        # print(a,b)

def gene(n):
    res=[]
    global febo
    for i in range(1,n+1):
        if febo[i]:
            res.append('O')
        else:
            res.append('o')
    
    return res

n=int(input())
ini()
print(''.join(gene(n)))