int(input())
vals    = input()

vals    = vals.split()
#　数値変換
vals    = list(map(lambda v:int(v), vals))

def solve(remain, a):
    '''bは指定必須とする'''

    if len(remain) == 1:
        if (a*remain[0]) % 4 == 0:
            return True
        return False

    # len > 1の場合

    for i in range(len(remain)):
        if (a * remain[i]) % 4 == 0:
            res = solve(remain[0:i] + remain[i+1:], remain[i])
            if res == True:
                return True



for i in range(len(vals)):
    a   = vals[i]
    if solve(vals[0:i] + vals[i+1:], a) == True:
        print("Yes")
        break;
else:
    print("No")
