n = input()
fib = list()
a = 0
fib.append(a)
b = 1
fib.append(b)
c = a+b
fib.append(c)
while c<n:
	a = b
	b = c
	c = a + b
	fib.append(c)
s = ""
for i in range(1,n+1):
	if i in fib:s+='O'
	else:s+='o'
print s