l=[1,1]
i=2
a=1;b=1
while(len(l)<=18):
    s=a+b
    l.append(s)
    a=b;b=s
n=int(input())
ans=[]
for i in range(1,n+1):
    if i in l:
        ans.append('O')
    else:
        ans.append('o')
print(''.join([a for a in ans]))