n=(int(input()))
n1,n2=0,1
count=0
fibo=[]
while count<n:
    fibo.append(n1)
    nn=n1+n2
    n1=n2
    n2=nn
    count+=1
str1=""
for i in range(1,n+1):
    if i in fibo:
        str1=str(str1)+'O' 
    else:
        str1=str(str1)+'o' 
print(str1)
    