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