n=int(input())
A=list(map(int,input().split()))
B=list(filter(lambda x:x%4==0,A))
even=list(filter(lambda x:x%2==0,A))
odd=list(filter(lambda x:x%2==1,A))

if len(even)==len(A):
  print('Yes')
  exit()
if len(B)>=len(odd)//2 and len(even)/2==0:
  print('Yes')
# if len(B)>=round(len(odd)/2,1) and len(B)/2!=0 and len(even)/2!=0:
#   print('Yes')
#   exit()
if len(B)>=len(odd)/2 and len(even)/2==0:
  print('Yes')
else:
  print('No')