n = int(input())
a = 1
b = 1
d = []
r = []
for i in range(n):
	d.append(b)
	a,b= b,a+b

s = [i for i in range(1,n+1)]

for i in range(n):
	if s[i] in d:
		r.append("O")
	else:
		r.append("o")

print("".join(r))