def judgearr(arr):
    mod0, mod2, odd = 0, 0, 0
    for a in arr:
        if a % 4 == 0:
            mod0 += 1
        elif a % 4 == 2:
            mod2 += 1
        else:
            odd += 1
    return mod0 + mod2/2 > odd


N = int(input())
an = map(int, input().split())

if judgearr(an):
    print("Yes")
else:
    print("No")
