n=int(input())
s=0
l=[1]
a=1
b=1
p=['o']*n
while(s<=n):
    s=a+b
    if(s<=n):
        l.append(s)
        a=b
        b=s
for i in range(n):
    if i+1 in l:
        p[i]='O'
print(''.join(map(str,p)))
