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 four_cnt+1>=two_cnt+other_cnt:
    print('Yes')
else:
    print('No')