def fib(num):
	a=[0, 1]
	first=0
	second=1
	for _ in range(num):
		temp=first
		first=second
		second+=temp
		a.append(second)
	return a

n=int(input())
name=""
for i in range(1, n+1):
	p=False
	for j in fib(n):
		if i==j:
			name+='O';p=True
			break
	if not p:
		name+='o'
print(name)