n = int(input())
l=[]
s=""
def F(n):
    if n == 0:
    	return 0
    elif n == 1:
    	return 1
    else:
    	return F(n-1)+F(n-2)
for i in range(1,n+1):
    if F(i)<=n:
        l.append(F(i))
    else:
        break

for i in range(1,n+1):
	if i in l:
		s+="O"
	else:
		s+='o'
print(s)