#include <bits/stdc++.h>
using namespace std;
int main() {
  int i, j, k, n, m, l, s = 0, x, y, tc = 1;
  while (cin >> n) {
    vector<int> a;
    int f = 0, t = 0, tn = 0, o = 0, c = 0;
    for (i = 0; i < n; i++) {
      cin >> x;
      a.push_back(x);
      c++;
      if (x % 4 == 0)
        f++;
      else if (x % 2 == 0)
        t++;
      else
        o++;
    }
    t = t % 2;
    if ((f == o || f >= o - 1) && t == 0)
      cout << "Yes" << '\n';
    else if (f >= t && o <= 1)
      cout << "Yes" << '\n';
    else
      cout << "No" << '\n';
  }
}
