n = int(input())
li = list(map(int,input().split()))
lis = []
x = 0
y = 0
for i in range(n):
    if li[i] % 4 == 0:
        x += 1
    elif li[i] % 2 != 0:
        y += 1
if x >= y:
    print("Yes")
else:
    print("No")