n=input()
f=[1,1]
i=2
while True:
    t=f[i-1]+f[i-2]
    if t>1000:
        break
    f.append(t)
    i+=1
ans=list('o'*n)
for i in range(1,n+1):
    if i in f:
        ans[i-1]='O'
print ''.join(map(str,ans))