n=int(input())
lst=[]
ans=''
lst.append(1)
lst.append(1)
for i in range(2, 1001):
    lst.append(lst[i-1]+lst[i-2])
k=0
for i in range(1,n+1):
    if i in lst:
        ans+='O'
        k+=1
    else:
        ans+='o'
print(ans)