
def fib(a):
    if a<2:
        return a
    else:
        return fib(a-1)+ fib(a-2)

n=int(input())
l=[]
i=0
j=0
while fib(i)<=n :
    l.append(fib(i))
    i=i+1

for j in range (1,n+1) :
    if j in l :
        print('O', end ='')
    else :
        print('o', end ='')

        
