n = int(input())

nList = list(map(int,input().split()))
L2count = 0
L4count = 0

for i in nList:
  if i%4 == 0:
    L4count += 1
  if i%2 == 0:
    L2count += 1

if L4count >= n//2:
  print("Yes")
elif L2count > n//2 and L2count%2 == 0:
  print("Yes")
else:
  print("No")
