N=int(input())
A=list(map(int,input().split()))
cntf=0
cntno=0
for i in A:
  if i%4==0:
    cntf+=1
  if i%2==1:
    cntno+=1

if cntno>2:
  print('No')
elif cntno==0:
  print('Yes')
elif cntno==1:
  if cntf>0:
    print('Yes')
  else:
    print('No')
else:
  if N==3 and cntf>0:
    print('Yes')
  elif N>3 and cntf>1:
    print('Yes')
  else:
    print('No')
  