(t1,t2,nt) = (0,1,0)
n = int(input())
a = []
for i in range(2,n+1):
    nt = t1 + t2
    t1 = t2
    t2 = nt
    a.append(nt)
for i in range(1,n+1):
    if a.__contains__(i): print('O',end='')
    else: print('o',end='')