#include <bits/stdc++.h>
using namespace std;
long long a[100005];
int main() {
  int i, x1, x2, x3, m;
  while (~scanf("%d", &m)) {
    x1 = 0;
    x2 = 0;
    for (i = i; i <= m; i++) {
      scanf("%lld", a + i);
      if (a[i] % 2 == 0) x1++;
      if (a[i] % 4 == 0) x2++;
    }
    x1 -= x2;
    x3 = m - x1 - x2;
    if (x3 <= x2 || (x1 == 0 && x2 + 1 == x3)) {
      cout << "Yes" << endl;
    } else {
      cout << "No" << endl;
    }
  }
  return 0;
}
