N = int(input())

A = list(map(int, input().split()))

nl = [0] * 3

for a in A:
  if a % 4 == 0:
    nl[2] += 1
  elif a % 2 == 0:
    nl[1] += 1
  else:
    nl[0] += 1

# 2は2個以上あれば全部繋げとけば良い、1個だけなら１と同じ
if nl[1] == 1:
  nl[0] += 1

# 1,4,1,4,1の形を満たせばOK
if nl[2] >= nl[0] - 1:
  print("Yes")
else:
  print("No")