n = int(input())
a = map(int,input().split())
two = 0
one = 0
for i in a :
    if i % 4 == 0:
        two += 1
    elif i % 2 == 0:
        one += 1
zero = n - one - two
num = two * 2 + one
if num >= n:
    ans = "Yes"
else:
    ans = "No"
print (ans)