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

if 2 in a:
    two_cnt=1
else:
    two_cnt=0

other_cnt=len([i for i in a if i % 2 != 0])
four_cnt=len([i for i in a if i % 4 == 0])

if two_cnt==0:
    if other_cnt<=four_cnt+1:
        print('Yes')
    else:
        print('No')
else:
    if other_cnt<=four_cnt:
        print('Yes')
    else:
        print('No')
