#include <bits/stdc++.h>
using namespace std;
const int maxn = 2e5 + 5;
int a[maxn];
int main() {
  int n, x = 0, y = 0, z = 0;
  scanf("%d", &n);
  for (int i = 0; i < n; i++) {
    scanf("%d", &a[i]);
    if (a[i] % 4 != 0) {
      if (a[i] % 2 == 0)
        a[i] = 2;
      else
        a[i] = 1;
    } else
      a[i] = 4;
    if (a[i] == 1)
      x++;
    else if (a[i] == 2)
      y++;
    else
      z++;
  }
  z += y / 2;
  y %= 2;
  if (y == 1) {
    if (x >= y + z)
      printf("No\n");
    else
      printf("Yes\n");
  } else {
    if (x > z + 1)
      printf("No\n");
    else
      printf("Yes\n");
  }
}
