def seqFib():
    ret=[]
    ret=[1,1]
    for i in range(100):
        ret.append(ret[-1]+ret[-2])
    return ret

l = seqFib()

num=input()

num=int(num)

ans=''
for i in range(num):
    if i+1 in l:
        ans += 'O'
    else :
        ans += 'o'
print(ans)