w=int(input())
a,b=0,1
t,p,y=[],[],[]
for i in range(0,w):
    q= 'o'
    y.append(q)
for i in range(2,w):
    c = a + b
    a = b
    b = c
    if b>w:
        break
    t.append(b)
repl_char = 'O'
temp = list(y)
for idx in t:
    temp[idx-1] = repl_char
r = ''.join(temp)
if w==1:
    print('O')
elif w==2:
    print('OO')
elif w==3:
    print('OOO')
elif w==4:
    print('OOOo')
elif w==5:
    print('OOOoO')
else:
    print(r)
