n=int(input())
n1,n2=1,1
li= ['o' for i in range(n+1)]
while n1 <= n:
	li[n1] = 'O'
	nth = n1 + n2
	n1 = n2
	n2 = nth

nn = len(li)

# str1=""
# str1.join(li[1:])
# print(str1)

for i in range(1,nn):
	print(li[i],end="")