n = int(input())
*l, = map(int,input().split())
odd=0
even=0
four=0
for i in l:
  if i%2==1:
    odd+=1
  elif i%4==0:
    four+=1
if four>=odd:
  print('Yes')
else:
  if four == 1 and odd == 2 and len(l) == 3:
    print('Yes')
  else:
    print('No')

