n=int(input())
frt=1 
snd=1 
name=''
a=[]
a.append(1)
a.append(1)
for i in range(3,n*2):
    sum1=frt+snd
    a.append(sum1)
    frt=snd
    snd=sum1
    
for i in range(1,n+1):
    if i in a:
        name+='O'
    else:
        name+='o'
print(name)
    