N = int(input())
A = [int(a) for a in input().split()]
c4 = 0
c2 = 0
for a in A:
    if a % 4 == 0: c4 += 1
    elif a % 2 == 0: c2 += 1

if c4 >= N // 2:
    print("Yes")
elif c2 >= N - 2 * c4:
    print("Yes")
else:
    print("No")