n = int(input())
fib = [1,1]
string = ["o"]*n
if n < 6:
    if n < 4:
        print("O"*n)
    else:
        print("O"*3 + "o"*(n-3))

if n > 6:        
    newf = lambda i : fib[i - 1] + fib[i - 2]

    for i in range(2,n):
        fib.append(newf(i))
    
    i = 0
    while fib[i] <= n:
        string[fib[i] - 1] = "O"
        i += 1
    print("".join(string))
