N = int(input())
lst_a = list(map(int, input().split()))
cnt_4times = 0
cnt_odd = 0
cnt_even = 0
ans = "No"


for a in lst_a:
    if a % 4 == 0:
        cnt_4times += 1
    elif a % 2 != 0:
        cnt_odd += 1
    else:
        cnt_even += 1


if cnt_even == 0:
    if cnt_4times <= cnt_odd - 1:
        ans = "Yes"
else:
    if cnt_4times >= cnt_odd:
        ans = "Yes"


print(ans)