n = int(input())
a = [int(i) for i in input().split()]
even4= 0
odd = 0
even2 = 0
for i in range(n):
    if a[i]%4 == 0:
        even4 +=1
    elif a[i]%2 == 0:
        even2 +=1
    else:
        odd+=1
if (even4)*2 >=odd :
    print('Yes')
elif even2%2==0:
    print("Yes")
else:
    print('No')
