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

ans = "No"
two_mul = []
four_mul = []
for i in a:
    if i % 2 and i % 4 != 0:
        two_mul.append(i)
    elif i % 4 == 0:
        four_mul.append(i)

if len(four_mul) + len(two_mul) >= N//2:
    ans = "Yes"

print(ans)