def checkFib(n):
	if int((5*(n**2) + 4)**0.5) == (5*(n**2) + 4)**0.5 or int((5*(n**2) - 4)**0.5) == (5*(n**2) - 4)**0.5:
		return True
	return False
	
n = int(input())
ans = ""
for i in range(1, n+1):
	if checkFib(i):
		ans += "O"
	else:
		ans += "o"
print(ans)	
