from collections import Counter as cntr
n = int(input())
l = ["o" for i in range(n)]
def fib():
    a, b = 1, 1
    while 1:
        yield a
        a, b = b, a + b
i = fib()
t = i.__next__()
while(t<1000):
	if t > n-1:
		break

	l[t-1] = 'O'
	t = i.__next__()


print("".join(l))