n = int(input())

a = [1,1]
str = ""
while a[-1] <= n :
    a.append(a[-1]+a[-2])
for i in range(len(a)):
    a[i]-=1
for i in range(n):
    if a.count(i)>0:
        str+='O'
    else:
        str+='o'
print(str)
