def fact(n):
    f = 1
    for i in range(1,n+1):
        f = f * i
    return f

def maxpow(n):
    N = fact(2**n)
    p = 0
    while N%2 == 0:
        p = p+1
        N = N//2
    return p
