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

d = {0:0, 1:0, 2:0, 3:0}
for a in l:
  a = a%4
  d[a] += 1

if d[1]+d[3] > d[0]+1:
  print('No')
elif d[1]+d[3] == d[0]+1 and d[2] > 0:
  print('No')
else:
  print('Yes')
  

