N=int(input())
a=input().split()
count_2=0
count_4=0
count_save=0

for i in range(N):
 ai=int(a[i])
 if(ai%4==0):
  count_4 +=1
 if( (ai%2==0)and(ai%4!=0) ):
  count_2 +=1

count_save +=3*count_4
if(count_2>=2):
 count_save +=count_2

if(count_save>=N):
 print("Yes")
else:
 print("No")
