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


num4, num2 = 0, 0
for a in a:
    if a % 4 == 0: num4 += 1
    elif a % 2 == 0: num2 += 1

if num2 > 1:
    if num4 >= (N-(num2-1))//2: print( 'Yes' )
else:
    if num4 >= N//2: print( 'Yes' )
    else: print( 'No' )