N = int(input())
A = [int(x) for x in input().split()]
D = [0]*5
for a in A:
    if a % 4 == 0:
        D[4] += 1
    elif a % 2 == 0:
        D[2] += 1
    else:
        D[1] += 1

if D[4] + 1 >= D[1]:
    print("Yes")
else:
    print("No")



# any 4 any
# (2,4) 4 (,4)
# 4 1 4
