n = int(input())
a = list(map(int, input().split()))

b = list(map(lambda x: x%4, a))
# print(b)
c1 = b.count(0)
c2 = b.count(2)
# print(c)
if c1 >= len(a)//2:
    print('Yes')
elif c2 >= len(a) - 2*c1:
    print('Yes')
else:
    print('No')