#include <bits/stdc++.h>
using namespace std;
long long n, p[100100], a, br4, br2, br0;
int main() {
  scanf("%lld", &n);
  for (int i = 0; i < (n); ++i) {
    scanf("%lld", &a);
    if (a % 4 == 0)
      br4++;
    else if (a % 2 == 0)
      br2++;
    else
      br0++;
  }
  br2 %= 2;
  while (br4) {
    if (br4 && br0 > 0) {
      br0 -= 2;
    } else if (br4 && br2 > 0) {
      br2 -= 2;
    }
    br4--;
  }
  if (br0 < 0) {
    br0 = 0;
    br2--;
    if (br2 < 0) br2 = 0;
  }
  if (br0 == 0 && br2 != 1)
    printf("Yes\n");
  else
    printf("No\n");
  return 0;
}
