def fibonacci():
	a, b = 0, 1
	while True:
		yield b
		a, b= b, a + b
	
n = input()
if n >= 1 and n <= 1000:
	fib = fibonacci()
	man = [fib.next() for i in range(1000)]
	nam = [a for a in range(1, n + 1)]

	s = ''
	k = None

	for i in nam:
		if i in man:
			s = s + 'O'
		else:
			s = s + 'o'

print s