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