N = int(input())
a = list(map(int, input().split()))

e = []
even4, odd = 0, 0
for i in a:
    if i % 4 == 0:
        even4 += 1
        e.append(i)
    else:
        odd += 1

if even4 >= odd:
    print("Yes")
    exit()
elif even4 < odd-1:
    print("No")
    exit()
else:
    for i in e:
        if i % 4 != 0:
            print("No")
            exit()
    print("Yes")
