f = []
s = ''
n = int(input())
f.append(1)
f.append(1)
count = 1
for i in range(0,n+10):
    f.append( f[i+1]+f[i])

    
for i in range(n):
    if i+1 == f[count]:
        s = s+'O'
        count+=1
    else:
        s = s+'o'
print(s)
