"""
██╗ ██████╗ ██╗    ██████╗  ██████╗  ██╗ █████╗
██║██╔═══██╗██║    ╚════██╗██╔═████╗███║██╔══██╗
██║██║   ██║██║     █████╔╝██║██╔██║╚██║╚██████║
██║██║   ██║██║    ██╔═══╝ ████╔╝██║ ██║ ╚═══██║
██║╚██████╔╝██║    ███████╗╚██████╔╝ ██║ █████╔╝
╚═╝ ╚═════╝ ╚═╝    ╚══════╝ ╚═════╝  ╚═╝ ╚════╝
"""                                        
__author__ = "Dilshod"
n = int(input())
fibonacci = [1, 1]
f1 = 1
f2 = 1
name = ["o"] * n
while fibonacci[-1] < n:
	a = f2
	f2 = f1 + f2
	f1 = a
	fibonacci += [f2]
for i in fibonacci:
	if i <= n:
		name[i - 1] = "O"
print(* name, sep = "")
