n=int(input())
a=list(map(int, input().split()))
x4=[x%4 for x in a]
x44=x4.count(0)
x2=[x%2 for x in a]
x22=x2.count(0)
x1=n-x44-x22
if x2==0:
    if x44>o:
        print('Yes')
    else:
        print('No')
else:
    if x44>=x1:
        print('Yes')
    else:
        print('No')