n = int(input())
list_o = []
res = ''
fib = [1,1]
 
 
 
for i in range(1,n+1):
 
    fib_num = 0
    fib_num = fib[len(fib)-2] + fib[len(fib)-1]
    fib.append(fib_num)
 
    if i in fib:
        list_o.append('O')
    else:
        list_o.append('o')
 
for o in list_o:
    res = res + o
 
print(res)