fib = [1, 2]
for i in range(2, 20):
	fib.append(fib[i - 1] + fib[i - 2])
#print fib
n = input()
name = ""
#print "n = ", n
#print "name = ", name
last = 0
for i in range(n):
	if i + 1 == fib[last]:
		name += "O"
		last += 1
	else:
		name += "o"

print name