N = input()
a = map(int, raw_input().split())
a1, a2, a4 = [], [], []
for i in range(N):
    if a[i] % 4 == 0:
        a4.append(a[i])
    elif a[i] % 2 == 0:
        a2.append(a[i])
    else:
        a1.append(a[i])
if N % 2 == 0:
    if len(a1) <= len(a4):
        print "Yes"
    else:
        print "No"
else:
    if len(a1) <= len(a4):
        print "Yes"
    elif len(a1) == len(a4) + 1:
        print "Yes" if (len(a2) % 2 == 0) else "No"
    else:
        print "No"