






v = []
v.append(1)
v.append(1)
v.append(2)

i = 0
ans = ''
ch = ''
before = ''
after = ''
n = input()

while i < n:
	ans += 'o'
	i += 1

i = 3

while i < n:
	v.append(v[i-2] + v[i-1])
	i+=1

i = 0

while i < n:
	if v[i] <= n:
		befor = ans[:v[i]-1]
		after = ans[v[i]:]
		ch += befor
		ch += 'O'
		ch += after
		ans = ch
		ch = ''
	i += 1
		
if n == 1:
	print 'O'
elif n == 2:
	print 'OO'
else:				
	print ans		