n = int(input())
a =1;b=1;lis = []
lis.append(a)
for i in range(2,n+1):
    lis.append(b)
    a,b = b,a+b
name = ''
for i in range(1,n+1):
    if i in lis:
        name += 'O'
    else:
        name+='o'
print(name)
