def f(n):
    n = int(n)
    if n%4 == 0:
        return 2
    elif n%2 == 0:
        return 1
    else:
        return 0

n = int(input())
a = list(map(f,input().split()))
c1 = a.count(0)
c4 = a.count(2)
if c1<=c4:
    print("Yes")
else:
    print("No")
