'''input
15
'''

#~ @author = dwij28 (Abhinav Jha) ~#

def pre():
	dp = [0, 1]
	while dp[-1] <= 1010:
		dp.append(dp[-1] + dp[-2])
	data = {}
	for i in dp:
		data[i] = True
	return data

l = pre()

n, i, ans = input(), 1, []
while i <= n:
	if i in l: ans.append('O')
	else: ans.append('o')
	i += 1

print ''.join(ans)