def fibo(n): 
     result = []
     a, b = 0, 1
     while b <= n:
         result.append(b)    
         a, b = b, a+b
     return result
 

n=int(raw_input())
n=n+1
fib=fibo(n)
name=['o']*n
for i in range(n):
    name[i]='o'
    if(i in fib):
        name[i]='O'
del name[0]
print ''.join(name)


           
       
