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

odd = sum([1 for i in a if i % 2 != 0])
multiple4 = sum([1 for i in a if i % 4 == 0])

if odd == 0:
    print('Yes')
elif odd - 1 <= multiple4:
    print('Yes')
else:
    print('No')
