import numpy as np

N=int(input())
A=np.array(list(map(int,input().split())))

odd=np.count_nonzero(A%2!=0)
four=np.count_nonzero(A%4==0)

if odd==1 and four>=1:
  print('Yes')
elif odd+four==N:
  if odd-1<=four:
    print('Yes')
  else:
    print('No')
else:
  if odd==2 and four==2:
    print('Yes')
  elif odd+1<=four:
    print('Yes')
  else:
    print('No')
