def inp():
	return int(input())

def inps():
	return [int(x) for x in input().split()]
def Fib():
    f1  = 1
    f2 = 1
    fib = [f1,f2]
    while fib[-1] < 1000:
        fib.append(fib[-1] + fib[-2])
    return fib

a = Fib()
n = inp()
ans = ['O' if i in a else 'o' for i in range(1, n+1)]
print(''.join(ans))

	
