def eleven(n):
    fab = [0,1]
    name = ""
    a , b, s = fab[0], fab[1], 0
    for i in range(n):
        s = a + b
        a = b
        b = s
        fab.append(s)

    
    for i in range(1, n+1):
        if i in fab:
            name += "O"
        else:
            name+="o"
    
    return name

n = int(input())
print(eleven(n))