n = int(input())
if(n==1):
	print('O')
elif(n==2):
	print('OO')
elif(n==3):
	print('OOO')
else:
	l = []
	a = 1
	b = 1
	l.append(a)
	l.append(b)
	k = 2
	while(k!=n):
		c=a+b
		l.append(c)
		a,b = b,c
		k+=1
	for i in range(n):
		if(i+1 in l):
			print('O',end='')
		else:
			print('o',end='')
	print()