n = int(input())
an = list(map(int,input().split()))

odd = filter((lambda x:x%2==1),an)
div4 = filter((lambda x:x%4 ==0),an)
div2 = set(an).difference(set(odd)).difference(set(div4))
if len(div2) == 0:
  div4.append(0)
if len(odd) <= len(div4)+1:
  print('Yes')
else:
  print('No')